[issue32988] datetime.datetime.strftime('%s') always uses local timezone, even with aware datetimes

Paul Ganssle report at bugs.python.org
Fri Mar 2 20:01:28 EST 2018


Paul Ganssle <p.ganssle at gmail.com> added the comment:

adamwill: I think datetime's strftime is a wrapper around the system strftime, so it varies between platforms. Might be useful to specify which platform you are seeing this behavior on.

----------
nosy: +p-ganssle

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32988>
_______________________________________


More information about the Python-bugs-list mailing list