New submission from Mike Gleen <mike.gl...@gmail.com>:

strptime correctly parses single digit day-of-month values (at least in the 
case of "%d %b %Y") which is the behavior I want. However, the documentation 
seems to say that the field must be two digits with a leading zero if 
necessary. So I hope that this is the intended behavior rather than just an 
accidental artifact. If so, then my suggestion is that the documentation be 
updated to reflect this.

----------
assignee: docs@python
components: Documentation
messages: 327109
nosy: Mike Gleen, docs@python
priority: normal
severity: normal
status: open
title: strptime %d handling of single digit day of month
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to