Re: UK BST Time Settings

Adam Tauno Williams <[email protected]> Thu, 07 May 2009 15:20:42 -0400
Newsgroups gmane.comp.cms.opengroupware.user
Message-ID <1241724042.5449.14.camel@linux-m3mt>
> I have tried a further experiment.
> (1) I have corrected the content of the database, using SQL similar to 
> what was given in Adam's earlier post, so that the content of the 
> database is now correctly in UTC.
> (2) I patched the libFoundation GMT time zone definition to use the 
> GB-Eire timezone data. When I had done that, BST showed up in the OGo 
> WebUI and the calendar entries were correct. But the appointments as 
> viewed in Sunbird were still an hour later than in the WebUI.

Sunbird's (or any clients) perception of time zones comes into play here
too.

> (3) When I put the GMT time zone definition back to the original GMT 
> data in libFoundation the times in Sunbird became correct. Changing the 
> OGo WebUI to GMT+1 corrected the time data in the WebUI.
> Through all this testing the Defaults timezone setting was left as GMT.

And PostgreSQL's timezone = GMT?

> My conclusion is that zidestore and the WebUI both must use the 
> libFoundation timezone data. (I assume that Zidelook operates similarly) 

Yes, absolutely.

> What we really need to do is find a way to get the WebUI to use, for 
> example, the experimental GBT timezone that I have created on my test 
> system
> I suppose I could hijack one of the other timezones and give it my GBT 
> data and use the hijacked timezone in the WebUI. But that is a really 
> nasty kludge.
> Any ideas on how to do that properly.

I believe the list of timezones available in the preferences for the
user to select is controlled by the LSTimeZones default.  The
LSTimeZones (according to my notes) has a default default value of
( "MET", "GMT", "PST", "EST", "CET" ).

-- 
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users