[issue46614] Add option to output UTC datetimes as "Z" in `.isoformat()`

Éric Araujo report at bugs.python.org
Sun Apr 3 14:30:05 EDT 2022


Éric Araujo <merwok at netwok.org> added the comment:

Bad idea: pass `zulu=True`

It is short, memorable if you know about it, otherwise obscure enough to push people to read the docs and be clear about what it does.

Also strange and far from obvious, so a bad idea.  Unless… ?

----------

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


More information about the Python-bugs-list mailing list