[issue22752] incorrect time.timezone value

Alexander Belopolsky report at bugs.python.org
Tue Oct 28 17:42:16 CET 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue22752>
_______________________________________


More information about the Python-bugs-list mailing list