mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Clarify note about using %U and %W with strptime().
This commit is contained in:
parent
8dc25ad6f2
commit
6b1597c7c7
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue