[Zope] DateTime(), locale, summertime etc.

Max M maxm at mxm.dk
Thu Apr 7 03:24:14 EDT 2005


I have a product where I convert some external datetimes to zope 
DateTime() objects. I save them as UTC as zopes DateTime does by default.

But when these are rendered, the time is offset by two hours.


A few weeks ago, it wasn't that bad. It was only one hour, but then 
summertime came along ;-)


So it seems that there is some magic going on where Zope tries to take 
locale and summertime into account.

Is this configurable somewhere. In Zope, Python, as a command switch or 
in a config file?


-- 

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science



More information about the Zope mailing list