[zope2-tracker] [Bug 142148] Re: DateTime default timezone wrong in some locations

Chris Hamono 142148 at bugs.launchpad.net
Tue Nov 9 20:48:02 EST 2010


CST Bug

This problem has been a long running Issue. With the help of Dixond on
the plone irc chat we have resolved the issue that was effecting us in
Adelaide Australia.

None of the other fixes noted elsewhere worked

The issue stems form both CST and EST being hard coded into the datetime
module.

I do not know why that was done, perhaps the attached patch may break
some installs but for us it meant we now get the correct date being
reported when we use plone

with the patch installed our installation now reports the correct time.
I havent checked other timezones and we are currently in DST. I haven't
yet checked normal time.

We did not require the addition of the TZ environment variable as noted
elsewhere. It did not work anyway.

DC

** Patch added: "DateTime.py and datetime/__init__.py patch for Australian CST and EST timezones"
   https://bugs.launchpad.net/datetime/+bug/142148/+attachment/1728541/+files/0001-modified-datetime-to-allow-Australian-CST-and-EST.patch

-- 
DateTime default timezone wrong in some locations
https://bugs.launchpad.net/bugs/142148
You received this bug notification because you are a member of Zope 2
Developers, which is the registrant for DateTime.


More information about the zope2-tracker mailing list