[issue6641] datetime.strptime doesn't support %z format ?

Alexander Belopolsky report at bugs.python.org
Thu Jun 17 19:53:51 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

issue6641a.diff fixes the nits that Mark found and makes the tests robust with respect to change of timezones.  Tested with all timezones avalilable on OSX including TZ="Eire".  (Ever heard of Ouagadougou?)

Parsing RFC 3339's HH:MM format is a separate issue. I am +1 on either adding %:z specifier or simply allow HH:MM for %z.

----------
resolution:  -> accepted
Added file: http://bugs.python.org/file17699/issue6641a.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6641>
_______________________________________


More information about the Python-bugs-list mailing list