Skip to content

Possible typo in the documentation of datetime #99728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
busywhitespace opened this issue Nov 23, 2022 · 1 comment
Closed

Possible typo in the documentation of datetime #99728

busywhitespace opened this issue Nov 23, 2022 · 1 comment
Labels
docs Documentation in the Doc dir

Comments

@busywhitespace
Copy link
Contributor

busywhitespace commented Nov 23, 2022

At the bottom of the page, in the section Technical Detail, the point 9 in the notes says:

When used with the strptime() method, the leading zero is optional for formats %d, %m, %H, %I, %M, %S, %J, %U, %W, and %V.

But %J (the uppercase J) does not exist. Maybe %j (the lowercase J) was meant.

If it is the case, I'll be glad to create an PR.

Linked PRs

@busywhitespace busywhitespace added the docs Documentation in the Doc dir label Nov 23, 2022
@AlexWaygood AlexWaygood changed the title Possible type in the documentation of datetime Possible typo in the documentation of datetime Nov 23, 2022
@tbwolfe
Copy link
Contributor

tbwolfe commented Nov 24, 2022

PR has been submitted. Please let me know if any additional changes are required.

miss-islington pushed a commit to miss-islington/cpython that referenced this issue Dec 10, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Dec 10, 2022
miss-islington added a commit that referenced this issue Dec 10, 2022
miss-islington added a commit that referenced this issue Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

3 participants