This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ericpruitt
Recipients ericpruitt
Date 2010-12-05.23:57:22
SpamBayes Score 7.1595277e-06
Marked as misclassified No
Message-id <1291593444.74.0.0494991149013.issue10634@psf.upfronthosting.co.za>
In-reply-to
Content
If the current time zone changes on Windows, time.localtime will continue to return results that reflect the time zone the system used when the module was imported. My current work around is to use GetLocalTime from kernel32 with ctypes. Windows does not have a tzset() equivalent as it does in Linux, but it seems like modifying time.localtime to use GetLocalTime on Windows systems could make up for this shortcoming.
History
Date User Action Args
2010-12-05 23:57:24ericpruittsetrecipients: + ericpruitt
2010-12-05 23:57:24ericpruittsetmessageid: <1291593444.74.0.0494991149013.issue10634@psf.upfronthosting.co.za>
2010-12-05 23:57:22ericpruittlinkissue10634 messages
2010-12-05 23:57:22ericpruittcreate