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

Skip to content

Commit e6b0bd5

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 92dd53b commit e6b0bd5

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
@@ -2570,7 +2570,7 @@ Notes:
25702570

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

25762576
.. rubric:: Footnotes

0 commit comments

Comments
 (0)
0