8000 gh-99728: correct typo in `datetime` format codes documentation (GH-9… · python/cpython@606adb4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 606adb4

Browse files
gh-99728: correct typo in datetime format codes documentation (GH-99750)
(cherry picked from commit d5f8a2b) Co-authored-by: Brad Wolfe <brad.wolfe@gmail.com>
1 parent 9aca003 commit 606adb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/datetime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2589,7 +2589,7 @@ Notes:
25892589

25902590
(9)
25912591
When used with the :meth:`strptime` method, the leading zero is optional
2592-
for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%J``, ``%U``,
2592+
for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%j``, ``%U``,
25932593
``%W``, and ``%V``. Format ``%y`` does require a leading zero.
25942594

25952595
.. rubric:: Footnotes

0 commit comments

Comments
 (0)
0