Skip to content
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

[3.9] Update documentation in datetime module strftime-and-strptime-behavior fix typo in '%W' format code description (GH-30232) #30703

Merged
merged 1 commit into from Jan 23, 2022

Conversation

miss-islington
Copy link
Contributor

A small change to the documentation of datetime module , in the format codes section of stftime and strptime. Changed the description of format code '%W' from 'as a decimal number' to 'a zero padded decimal number' so it's in line with the example having leading zeros. Similar to the format code '%U' above.

Automerge-Triggered-By: GH:pganssle
(cherry picked from commit d45cd2d)

Co-authored-by: Evan binary-signal@users.noreply.github.com

…r fix typo in '%W' format code description (pythonGH-30232)

A small change to the documentation of datetime module , in the format codes section of stftime and strptime. Changed the description of format code '%W' from 'as a decimal number' to 'a zero padded   decimal number' so it's in line with the example having leading zeros.  Similar to the format code '%U' above.

Automerge-Triggered-By: GH:pganssle
(cherry picked from commit d45cd2d)

Co-authored-by: Evan <binary-signal@users.noreply.github.com>
@vstinner vstinner merged commit d0852c4 into python:3.9 Jan 23, 2022
@miss-islington miss-islington deleted the backport-d45cd2d-3.9 branch January 23, 2022 00:59
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…r fix typo in '%W' format code description (pythonGH-30232) (pythonGH-30703)

A small change to the documentation of datetime module , in the format codes section of stftime and strptime. Changed the description of format code '%W' from 'as a decimal number' to 'a zero padded   decimal number' so it's in line with the example having leading zeros.  Similar to the format code '%U' above.

Automerge-Triggered-By: GH:pganssle
(cherry picked from commit d45cd2d)

Co-authored-by: Evan <binary-signal@users.noreply.github.com>

Co-authored-by: Evan <binary-signal@users.noreply.github.com>
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 skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants