6 Sep
2005
6 Sep
'05
4:53 p.m.
It seems that since the Pacific timezone is in daylight savings time, the correct offset is -7. So.... nevermind. On Tue, 2005-09-06 at 00:53, Mark Gibson wrote:
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@dimensional.com>