Message107906
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. |
|
Date |
User |
Action |
Args |
2010-06-16 03:36:44 | belopolsky | set | recipients:
+ belopolsky, mark.dickinson |
2010-06-16 03:36:44 | belopolsky | set | messageid: <1276659404.06.0.425467293989.issue9004@psf.upfronthosting.co.za> |
2010-06-16 03:36:41 | belopolsky | link | issue9004 messages |
2010-06-16 03:36:41 | belopolsky | create | |
|