diff options
author | Vishal Pandey <vishalpandeyviptsk@gmail.com> | 2021-11-30 11:01:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 11:01:44 (GMT) |
commit | f97ec09baf8431494fd2ef5133090c7b0afd0551 (patch) | |
tree | 2f9864b78719320d25a6b06e5f0576316173d801 /Doc/library/datetime.rst | |
parent | 9a5dec4e978f68ab956e979858ce3aa178436fa4 (diff) | |
download | cpython-f97ec09baf8431494fd2ef5133090c7b0afd0551.zip cpython-f97ec09baf8431494fd2ef5133090c7b0afd0551.tar.gz cpython-f97ec09baf8431494fd2ef5133090c7b0afd0551.tar.bz2 |
bpo-33381: [doc] strftime's %f option may pad zeros on the left or the right (GH-29801)
Diffstat (limited to 'Doc/library/datetime.rst')
-rw-r--r-- | Doc/library/datetime.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 0f8b70c..217cdf2 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -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, | | |