Skip to content

Commit 031e2bb

Browse files
bpo-33381: [doc] strftime's %f option may pad zeros on the left or the right (GH-29801) (GH-29863)
(cherry picked from commit f97ec09) Co-authored-by: Vishal Pandey <vishalpandeyviptsk@gmail.com>
1 parent b91805e commit 031e2bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/datetime.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2359,8 +2359,8 @@ requires, and these work on all platforms with a standard C implementation.
23592359
| | decimal number. | | \(9) |
23602360
+-----------+--------------------------------+------------------------+-------+
23612361
| ``%f`` | Microsecond as a decimal | 000000, 000001, ..., | \(5) |
2362-
| | number, zero-padded on the | 999999 | |
2363-
| | left. | | |
2362+
| | number, zero-padded to 6 | 999999 | |
2363+
| | digits. | | |
23642364
+-----------+--------------------------------+------------------------+-------+
23652365
| ``%z`` | UTC offset in the form | (empty), +0000, | \(6) |
23662366
| | ``±HHMM[SS[.ffffff]]`` (empty | -0400, +1030, | |

0 commit comments

Comments
 (0)