Re: zogi and daylight savings

Adam Tauno Williams <[email protected]> Sun, 11 Jan 2009 18:07:06 -0500
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Organization Whitemice.Org
Message-ID <[email protected]>
On Fri, 2009-01-09 at 08:44 +0100, Tobias Kaefer wrote:
> Adam Tauno Williams wrote:
> > On Thu, 2009-01-08 at 12:25 +0100, Tobias Kaefer wrote:
> >> Are there any updates on this?
> > I've confirmed it.
> >> I have created an issue at Google Code:
> >> http://code.google.com/p/zogi/issues/detail?id=33
> > I'll try and fix this one tomorrow;  zOGI just must be doing something
> > different than the WebUI (which works correctly).
> That very good to hear! Thanks!

I think the issue is that zOGI is creating all appointments as GMT
(adjusting from the supplied start/end to GMT) while the WebUI is more
sensitive to the user's timeZone (set in the user's context?).

LSNewAppointmentCommand.m
...
  sD = [self valueForKey:@"startDate"];
  eD = [self valueForKey:@"endDate"];
  ....
  tzsD = [[[sD timeZoneDetail] retain] autorelease];
  tzeD = [[[eD timeZoneDetail] retain] autorelease];
...

While zOGI attempts to set the timeZone on dates received it doesn't
appear to be effective.

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc