[Zope] DateTime and TimeZone

Mark Gibson mark at dimensional.com
Tue Sep 6 02:53:34 EDT 2005


I installed zope 2.7.6 on a windows 2000 machine.   This machine is set
to the pacific timezone.

When I run python from the command line, and check DateTime, I get: 

>>> from DateTime import DateTime
>>> DateTime()
DateTime('2005/09/06 23:55:29.620 GMT-7')

The 'GMT-7' is the Mountain timezone.  The actual time should read
 DateTime('2005/09/06 23:55:29.620 GMT-8') for the Pacific timezone.

What controls the default timezone behavior of DateTime on Windows?  How
can I get this working correctly?

Thanks,
Mark
-- 
Mark Gibson <mark at dimensional.com>



More information about the Zope mailing list