[issue22840] strpdate('20141110', '%Y%m%d%H%S') returns wrong date

Doug Gorley report at bugs.python.org
Mon Nov 10 23:53:18 CET 2014


Doug Gorley added the comment:

I expected the second call to strpdate() to throw an exception, because %Y consumed '2014', %m consumed '11', and %d consumed '10', leaving nothing for %H and %M to match.  That would be consistent with the first call.

----------

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


More information about the Python-bugs-list mailing list