[issue34903] strptime %d handling of single digit day of month

2019-06-17 Thread Mike Gleen
Change by Mike Gleen : -- pull_requests: +13990 pull_request: https://github.com/python/cpython/pull/14149 ___ Python tracker <https://bugs.python.org/issue34

[issue34903] strptime %d handling of single digit day of month

2018-10-06 Thread Mike Gleen
Mike Gleen added the comment: Thanks for the quick response. I would be happy to write a pull request for the doc change. I've never done this before so it'll take a little while to get my head around the process, but the "Helping with Documentation" chapter seems good.

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Mike Gleen
Mike Gleen added the comment: Sorry for the omission. This refers to datetime.datetime.strptime. The documentation I referenced is: https://docs.python.org/3/library/datetime.html; I did not test 2.7. -- ___ Python tracker <ht

[issue34903] strptime %d handling of single digit day of month

2018-10-05 Thread Mike Gleen
New submission from Mike Gleen : 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 th