[issue22840] strpdate('20141110', '%Y%m%d%H%S') returns wrong date
Alexander Belopolsky
report at bugs.python.org
Tue Nov 11 16:57:28 CET 2014
Alexander Belopolsky added the comment:
After reading the standard a few more times, I agree with Brett and Ethan that this is at most a call for better documentation.
I'll leave this open for a chance that someone will come up with a succinct description of what exactly datetime.strptime does. (Maybe we should just document the format to regexp translation implemented in _strptime.py.)
We may also include POSIX's directive "The application shall ensure that there is white-space or other non-alphanumeric characters between any two conversion specifications" as a recommendation.
----------
assignee: -> belopolsky
components: +Documentation -Library (Lib)
type: behavior -> enhancement
versions: +Python 3.5 -Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22840>
_______________________________________
More information about the Python-bugs-list
mailing list