New submission from Guido van Rossum:

The datetime isoformat() function for an aware datetime appends the timezone in 
the form +HH:MM or -HH:MM. But the %z format produces (strftime) or parses 
(strptime) either +HHMM or -HHMM. I looked it up on Wikipedia, and the ISO 8601 
standard indeed uses the colon. It would be nice if there was a new format 
character that could produce or parse the colon...

----------
messages: 249305
nosy: gvanrossum
priority: normal
severity: normal
status: open
title: No way to generate or parse timezone as produced by datetime.isoformat()
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24954>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to