]> granicus.if.org Git - python/commitdiff
Clarify note about using %U and %W with strptime().
authorBrett Cannon <bcannon@gmail.com>
Mon, 18 Oct 2004 01:53:15 +0000 (01:53 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 18 Oct 2004 01:53:15 +0000 (01:53 +0000)
Doc/lib/libtime.tex

index 3b4ec7e83b6da2c401436ccbacce3c9c4cbc48b3..7a138794f2bddf46e2ba4809e91525123fce9ab8 100644 (file)
@@ -272,8 +272,9 @@ Notes:
     The range really is \code{0} to \code{61}; this accounts for leap
     seconds and the (very rare) double leap seconds.
   \item[(3)]
-    \code{\%U} and \code{\%W} are only used in calculations when the day of the
-    week and the year are specified.
+    When used with the \function{strptime()} function, \code{\%U} and \code{\%W}
+    are only used in calculations when the day of the week and the year are
+    specified.
 \end{description}
 
 Here is an example, a format for dates compatible with that specified