[rt-users] ticket announce email

Mathew Snyder theillien at yahoo.com
Wed Nov 28 14:51:26 EST 2007


Forgive my ignorance but, I'm not seeing how to compare them to what I see in RT.

Elements 0-5 and 8 from localtime(str2time($ticket->Created):
54 3 18 28 10 107 0

What the Created field for the ticket I'm looking at says:
Wed Nov 28 13:03:54 2007

Elements 0-5 and 8 from localtime(time());
52 47 14 28 10 107 0

Keep up with me and what I'm up to: http://theillien.blogspot.com


Gene LeDuc wrote:
> Hi Mathew,
> 
> Start by printing out the applicable elements ([0] - [5] and [8]) from
> localtime(str2time($ticket->Created)) and comparing them to what you see
> in RT, then print the same elements from localtime(time) and see what
> you get.  If it's a timezone or DST issue you can compensate for it. 
> Once you get time values you can trust you work on the next issue.
> 
> Gene
>



More information about the rt-users mailing list