Alexander Belopolsky added the comment:

The time module cannot handle historical changes in timezone info.  Try using 
datetime.datetime.astimezone() method (with no arguments) or a 3rd party 
timezone support library.

https://docs.python.org/3/library/datetime.html#datetime.datetime.astimezone

----------
assignee:  -> belopolsky
resolution:  -> not a bug
stage:  -> resolved
status: open -> pending

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22752>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to