From 0136fab973d6b9a3020e38fa7ecc9278db9e4c27 Mon Sep 17 00:00:00 2001 From: Brad Wolfe Date: Sat, 10 Dec 2022 11:20:18 +0100 Subject: [PATCH] gh-99728: correct typo in `datetime` format codes documentation (GH-99750) (cherry picked from commit d5f8a2b6ad408368e728a389da918cead3ef7ee9) Co-authored-by: Brad Wolfe --- Doc/library/datetime.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 8a7d99999f5dbd..e700b0a1347a7b 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -2589,7 +2589,7 @@ Notes: (9) When used with the :meth:`strptime` method, the leading zero is optional - for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%J``, ``%U``, + for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%j``, ``%U``, ``%W``, and ``%V``. Format ``%y`` does require a leading zero. .. rubric:: Footnotes