[rt-users] Going crazy with RT 3.8 and Timezones for Display Dates
Ruslan Zakirov
ruz at bestpractical.com
Thu Jul 1 16:51:53 EDT 2010
Hi.
I think you want to construct date object using user who set those cfs and
use timezone user. SetDue method has no diff between 3.6 and 3.8, it takes
ISO in utc.
01.07.2010 16:11 пользователь "Torsten Brumm" <torsten.brumm at googlemail.com>
написал:
Hi Chris,
this i already tried. The problem is more that the timezone offset is only
for display, not for calculation used (so far i figured already) and i have
really no idea how to fix it. one possible way could be:
1. If a user is entering this fields, check the users timezone and use the
offset to work with the utc values...
i will play around a little more...
Torsten
2010/7/1 Christian Loos <cloos at netcologne.de>
>
> Hi Torsten,
>
> try this:
>
> my $DUEDATE = $self->TicketObj->FirstCustomFieldValue('Date');
> ...
--
MFG
Torsten Brumm
http://www.brumm.me
http://www.elektrofeld.de
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100702/4f70677e/attachment.htm>
More information about the rt-users
mailing list