[rt-users] Wrong Timezone in Email Templates?

Christopher Short cshort at n6.com.au
Sun Dec 16 19:17:31 EST 2007


Hi,
I'm trying to email Requestors when the Due Date is updated, using
{$Ticket->DueObj->Date}
in the template, but when the email gets sent, the day shown is one day early.

I understand that the RT Web interface sets & shows dates in our local time (+11) and the database stores dates in GMT (+0), but why doesn't the date object use my designated Timezone when outputting the date?

I'm assuming that there's an easy way to get it to output the right date, or at least something better than
{$Ticket->DueObj->AddDay->Date}

cheers,
Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20071216/8d6625e1/attachment.htm>


More information about the rt-users mailing list