Commit c601a5b7 authored by Brett Cannon's avatar Brett Cannon

Clarify note about using %U and %W with strptime().

parent afa5056f
...@@ -272,8 +272,9 @@ Notes: ...@@ -272,8 +272,9 @@ Notes:
The range really is \code{0} to \code{61}; this accounts for leap The range really is \code{0} to \code{61}; this accounts for leap
seconds and the (very rare) double leap seconds. seconds and the (very rare) double leap seconds.
\item[(3)] \item[(3)]
\code{\%U} and \code{\%W} are only used in calculations when the day of the When used with the \function{strptime()} function, \code{\%U} and \code{\%W}
week and the year are specified. are only used in calculations when the day of the week and the year are
specified.
\end{description} \end{description}
Here is an example, a format for dates compatible with that specified Here is an example, a format for dates compatible with that specified
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment