mirror of
https://github.com/python/cpython
synced 2024-07-25 04:06:02 +00:00
Clarify note about using %U and %W with strptime().
This commit is contained in:
parent
8dc25ad6f2
commit
6b1597c7c7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue