[issue22840] strpdate('20141110', '%Y%m%d%H%S') returns wrong date
Alexander Belopolsky
report at bugs.python.org
Tue Nov 11 01:07:44 CET 2014
Alexander Belopolsky added the comment:
Looking at the POSIX standard
http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html
It appears that Python may be compliant:
%H The hour (24-hour clock) [00,23]; leading zeros are permitted but not required.
%m The month number [01,12]; leading zeros are permitted but not required.
%M The minute [00,59]; leading zeros are permitted but not required.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22840>
_______________________________________
More information about the Python-bugs-list
mailing list