Skip to content

Commit

Permalink
bpo-33381: [doc] strftime's %f option may pad zeros on the left or th…
Browse files Browse the repository at this point in the history
…e right (GH-29801) (GH-29862)

(cherry picked from commit f97ec09)

Co-authored-by: Vishal Pandey <vishalpandeyviptsk@gmail.com>
  • Loading branch information
miss-islington and vishalpandeynits authored Nov 30, 2021
1 parent 5a6d9ed commit 3975142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2359,8 +2359,8 @@ requires, and these work on all platforms with a standard C implementation.
| | decimal number. | | \(9) |
+-----------+--------------------------------+------------------------+-------+
| ``%f`` | Microsecond as a decimal | 000000, 000001, ..., | \(5) |
| | number, zero-padded on the | 999999 | |
| | left. | | |
| | number, zero-padded to 6 | 999999 | |
| | digits. | | |
+-----------+--------------------------------+------------------------+-------+
| ``%z`` | UTC offset in the form | (empty), +0000, | \(6) |
| | ``±HHMM[SS[.ffffff]]`` (empty | -0400, +1030, | |
Expand Down

0 comments on commit 3975142

Please sign in to comment.