Message126557
It makes sense that Internaldate2tuple() returns local time because timetuple (with its tm_isdst flag) strongly suggests local time. (See also issue 9004.)
If UTC or any other timezone time is needed, it would be best to provide a function that would return an aware datetime object.
I made some changes to Joe's patch in attached diff. I would appreciate another pair of eyes to look at it before I commit. |
|
Date |
User |
Action |
Args |
2011-01-19 19:30:21 | belopolsky | set | recipients:
+ belopolsky, docs@python, lavajoe |
2011-01-19 19:30:21 | belopolsky | set | messageid: <1295465421.5.0.0960347448748.issue10934@psf.upfronthosting.co.za> |
2011-01-19 19:30:18 | belopolsky | link | issue10934 messages |
2011-01-19 19:30:18 | belopolsky | create | |
|