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.

作者 belopolsky
收信人 belopolsky, mark.dickinson
日期 2010-06-16.03:36:41
SpamBayes Score 0.023579659
Marked as misclassified
Message-id <1276659404.06.0.425467293989.issue9004@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2010-06-16 03:36:44belopolsky修改recipients: + belopolsky, mark.dickinson
2010-06-16 03:36:44belopolsky修改messageid: <1276659404.06.0.425467293989.issue9004@psf.upfronthosting.co.za>
2010-06-16 03:36:41belopolsky链接issue9004 messages
2010-06-16 03:36:41belopolsky创建