Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 18, 2019

For datetime.datetime.strptime(), the leading zero for some two-digit formats is optional.

This adds a footnote to the strftime/strptime documentation to reflect this fact, and adds some tests to ensure that it is true.

bpo-34903
(cherry picked from commit 6b9c204)

Co-authored-by: Mike Gleen [email protected]

https://bugs.python.org/issue34903

…ythonGH-14149)

For datetime.datetime.strptime(), the leading zero for some two-digit formats is optional.

This adds a footnote to the strftime/strptime documentation to reflect this fact, and adds some tests to ensure that it is true.

bpo-34903
(cherry picked from commit 6b9c204)

Co-authored-by: Mike Gleen <[email protected]>
@miss-islington
Copy link
Contributor Author

@mikegleen and @pganssle: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@mikegleen and @pganssle: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 452b417 into python:3.7 Jun 18, 2019
@miss-islington miss-islington deleted the backport-6b9c204-3.7 branch June 18, 2019 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants