]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Update documentation in datetime module strftime-and-strptime-behavior fix typo in...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 19 Jan 2022 18:02:07 +0000 (10:02 -0800)
committerGitHub <noreply@github.com>
Wed, 19 Jan 2022 18:02:07 +0000 (10:02 -0800)
commitc4fe0aa670480d887f1f736d1a4251234914b58c
tree1681c7da02a0351afaae5a4e5db96c0a08c72ffd
parent39374c44d98b470213256ceead0e2b4e44b14b92
Update documentation in datetime module strftime-and-strptime-behavior fix typo in '%W' format code description (GH-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 d45cd2d20770f72a000ba6dfa9ac88dd49423c27)

Co-authored-by: Evan <binary-signal@users.noreply.github.com>
Doc/library/datetime.rst