[Python-checkins] python/dist/src/Doc/lib libtime.tex,1.67,1.68

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Mon Oct 18 03:38:00 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22698/Doc/lib

Modified Files:
	libtime.tex 
Log Message:
Add support for %U and %W to contribute to calculating the date when the year
and day of the week are specified.

Closes bug #1045381.


Index: libtime.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtime.tex,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- libtime.tex	28 Sep 2004 18:30:03 -0000	1.67
+++ libtime.tex	18 Oct 2004 01:37:57 -0000	1.68
@@ -247,11 +247,11 @@
   \lineiii{\%S}{Second as a decimal number [00,61].}{(2)}
   \lineiii{\%U}{Week number of the year (Sunday as the first day of the
                 week) as a decimal number [00,53].  All days in a new year
-                preceding the first Sunday are considered to be in week 0.}{}
+                preceding the first Sunday are considered to be in week 0.}{(3)}
   \lineiii{\%w}{Weekday as a decimal number [0(Sunday),6].}{}
   \lineiii{\%W}{Week number of the year (Monday as the first day of the
                 week) as a decimal number [00,53].  All days in a new year
-                preceding the first Monday are considered to be in week 0.}{}
+                preceding the first Monday are considered to be in week 0.}{(3)}
   \lineiii{\%x}{Locale's appropriate date representation.}{}
   \lineiii{\%X}{Locale's appropriate time representation.}{}
   \lineiii{\%y}{Year without century as a decimal number [00,99].}{}
@@ -271,6 +271,9 @@
   \item[(2)]
     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.
 \end{description}
 
 Here is an example, a format for dates compatible with that specified 



More information about the Python-checkins mailing list