Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
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. ---------- nosy: +belopolsky resolution: -> accepted stage: -> commit review Added file: http://bugs.python.org/file20457/issue10934.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10934> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com