[issue36899] datetime utcfromtimestamp ignores astimezone
SilentGhost
report at bugs.python.org
Mon May 13 05:32:50 EDT 2019
SilentGhost <ghost.adh at runbox.com> added the comment:
The utcfromtimestamp returns a naïve object that is assumed to be in the UTC timezone, you're then effectively turning it into a aware object in CEST timezone. I'm not sure what you think is wrong with utcfromtimestamp here, but it behaves according to documentation.
----------
nosy: +SilentGhost
resolution: -> not a bug
stage: -> resolved
status: open -> closed
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36899>
_______________________________________
More information about the Python-bugs-list
mailing list