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 terry.reedy
Recipients belopolsky, brian.curtin, cm, lemburg, terry.reedy, tim.golden
Date 2013-04-03.21:37:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365025034.49.0.139336880777.issue17627@psf.upfronthosting.co.za>
In-reply-to
Content
I am not sure this is a bug, as I don't think it reasonable to expect every time function call to re-initialize the timezone setting. I think you should change this to a request to see if time.tzset can now be made to work on Windows and not unix-only (as documented, when added in 2.3). The second StackOverflow answer by Lentjes suggests that it can for current Python.

datetime.now(tz=None) has an option to pass a timezone for adjusting the output. An user-friendly app can pass a real timezone instead of the default None and give users means to change what tz they want times displayed for, which may or may not be the current local timezone.
History
Date User Action Args
2013-04-03 21:37:14terry.reedysetrecipients: + terry.reedy, lemburg, belopolsky, tim.golden, brian.curtin, cm
2013-04-03 21:37:14terry.reedysetmessageid: <1365025034.49.0.139336880777.issue17627@psf.upfronthosting.co.za>
2013-04-03 21:37:14terry.reedylinkissue17627 messages
2013-04-03 21:37:14terry.reedycreate