Skip to content

Commit 29a8780

Browse files
binary-signalpganssle
authored andcommitted
fix typo in '%W'
update documentation for format code '%W' to 'a zero padded decimal number' like mentioned in the '%U' description
1 parent 1faf7c4 commit 29a8780

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/datetime.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,10 +2383,10 @@ requires, and these work on all platforms with a standard C implementation.
23832383
+-----------+--------------------------------+------------------------+-------+
23842384
| ``%W`` | Week number of the year | 00, 01, ..., 53 | \(7), |
23852385
| | (Monday as the first day of | | \(9) |
2386-
| | the week) as a decimal number. | | |
2387-
| | All days in a new year | | |
2388-
| | preceding the first Monday | | |
2389-
| | are considered to be in | | |
2386+
| | the week) as a zero padded | | |
2387+
| | decimal number. All days in a | | |
2388+
| | new year preceding the first | | |
2389+
| | Monday are considered to be in | | |
23902390
| | week 0. | | |
23912391
+-----------+--------------------------------+------------------------+-------+
23922392
| ``%c`` | Locale's appropriate date and || Tue Aug 16 21:30:00 | \(1) |

0 commit comments

Comments
 (0)