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

Paul Ganssle report at bugs.python.org
Fri Mar 2 20:24:34 EST 2018


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

I suspect discussion should be centralized in issue 12750, but if it were up to me %s would either work as expected or throw an error. Silently giving the wrong answer is a terrible compromise.

----------

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


More information about the Python-bugs-list mailing list