[issue45884] datetime.strptime incorrectly handling hours and minutes with bad format string

Jon Oxtoby report at bugs.python.org
Fri Nov 26 09:15:36 EST 2021


Jon Oxtoby <joxtoby27 at gmail.com> added the comment:

I was indeed overlooking the note in the documentation that the leading zero is optional for some formatters when using strptime. Closing.

----------
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list