Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b1597c

Browse files
committed
Clarify note about using %U and %W with strptime().
1 parent 8dc25ad commit 6b1597c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/lib/libtime.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,9 @@ \section{\module{time} ---
272272
The range really is \code{0} to \code{61}; this accounts for leap
273273
seconds and the (very rare) double leap seconds.
274274
\item[(3)]
275-
\code{\%U} and \code{\%W} are only used in calculations when the day of the
276-
week and the year are specified.
275+
When used with the \function{strptime()} function, \code{\%U} and \code{\%W}
276+
are only used in calculations when the day of the week and the year are
277+
specified.
277278
\end{description}
278279

279280
Here is an example, a format for dates compatible with that specified

0 commit comments

Comments
 (0)