[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()
Alexander Belopolsky
report at bugs.python.org
Sat Jul 16 14:21:37 EDT 2016
Alexander Belopolsky added the comment:
Antti, while I see some convenience in making %z parsing promiscuous, there is clear utility in adding %:z to strftime. If we do that, not allowing the same for parsing will be odd. Let's start with that. A case for a promiscuous %z can be made later.
On a separate issue, note that datetime.isoformat() has recently grown a timespec option. See issue 19475. I wonder if it would make sense to add a tzspec option to control the way timezone is formatted.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24954>
_______________________________________
More information about the Python-bugs-list
mailing list