From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 30 Nov 2021 11:50:28 +0000 (-0800) Subject: bpo-33381: [doc] strftime's %f option may pad zeros on the left or the right (GH... X-Git-Tag: v3.9.10~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=031e2bb3326be542b224bbe35e7829846ea422cd;p=thirdparty%2FPython%2Fcpython.git bpo-33381: [doc] strftime's %f option may pad zeros on the left or the right (GH-29801) (GH-29863) (cherry picked from commit f97ec09baf8431494fd2ef5133090c7b0afd0551) Co-authored-by: Vishal Pandey --- diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 0f8b70cdedb4..217cdf222b89 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, | |