[rt-users] Date issue with a Scrip

Macnlos macnlos at ti-994a.com
Fri Feb 6 15:42:12 EST 2009


I'm been plugging away on this but no solution as of yet.  Any thoughts?
CR


On Feb 4, 2009, at 2:27 PM, Macnlos wrote:

> I've got two RT systems; 1 production and 1 development instance.
> Each night I do a mysqldump of production and move it to development
> so I can work the latest version and data.  Production is at 3.6.7 and
> Development is at 3.8.1 at the moment.
>
> I have a scrip that parses when a ticket is submitted and based on the
> date/time it will email a pager if it is off-hours.  The scrip is
> running fine in production and it's been in use for over a year.  But
> for some reason my development instance is tripping on the date/time
> checks.
>
> My thinking at this point is that the scrip is evaluating GMT rather
> than CST.  I tried an RT::Logger and the hour variable is showing up
> as 20 (8pm) when it's should be 14 (2pm).  This would confirm my
> suspicion about GMT.  So here is the question:
>
> Did something change from 3.6.7 to 3.8.1 that would account for Scrips
> being processed in GMT rather than the local timezone?
>
> CR
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com




More information about the RT-Users mailing list