Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: Sorry, I didn't quite grasp what the problem was before (timezones changing over time). I understand better now :-)
@Yuriy: On my test machine (Ubuntu Jaunty), with Moscow set as my location, the value of time.timezone is -10800 (for Caracas, it's 16200). The datetime.datetime.now().tzinfo is None, as you've both said. I will look at this soon. Yuriy, can you confirm that with Juancarlo's patch, the test also works for you? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14902> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com