Skip to content

Commit 74f32dc

Browse files
vishalpandeynitsmiss-islington
authored andcommitted
bpo-33381: [doc] strftime's %f option may pad zeros on the left or the right (pythonGH-29801)
(cherry picked from commit f97ec09) Co-authored-by: Vishal Pandey <vishalpandeyviptsk@gmail.com>
1 parent 5a6d9ed commit 74f32dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/datetime.rst

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy