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.br...@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 <cl...@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
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com