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 belopolsky
Recipients belopolsky, mark.dickinson
Date 2010-06-16.03:36:41
SpamBayes Score 0.023579659
Marked as misclassified No
Message-id <1276659404.06.0.425467293989.issue9004@psf.upfronthosting.co.za>
In-reply-to
Content
I find the following quite misleading:

>>> from datetime import datetime
>>> import time
>>> time.strftime('%c %z %Z', datetime.utcnow().utctimetuple())
'Wed Jun 16 03:26:26 2010 -0500 EST'

As far as I can tell, the only other function that uses the tm_isdst flag is time.mktime, but it expect a timetuple containing local time, not UTC time.
History
Date User Action Args
2010-06-16 03:36:44belopolskysetrecipients: + belopolsky, mark.dickinson
2010-06-16 03:36:44belopolskysetmessageid: <1276659404.06.0.425467293989.issue9004@psf.upfronthosting.co.za>
2010-06-16 03:36:41belopolskylinkissue9004 messages
2010-06-16 03:36:41belopolskycreate