Message107906
| 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: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 |
|