summaryrefslogtreecommitdiffstats
path: root/doc/clock.n
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-11-18 19:40:54 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-11-18 19:40:54 (GMT)
commitbd188b28723025d11220f7f3f71d41517a5104e9 (patch)
tree4b8b9e5516e2b81636fe5c97706543f1319cd117 /doc/clock.n
parent3ab2242ba8e613f075243e4baa3dc2e7406b6e62 (diff)
downloadtcl-bd188b28723025d11220f7f3f71d41517a5104e9.zip
tcl-bd188b28723025d11220f7f3f71d41517a5104e9.tar.gz
tcl-bd188b28723025d11220f7f3f71d41517a5104e9.tar.bz2
Bug 1359183
Diffstat (limited to 'doc/clock.n')
-rw-r--r--doc/clock.n7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/clock.n b/doc/clock.n
index 0c913c9..1267384 100644
--- a/doc/clock.n
+++ b/doc/clock.n
@@ -643,6 +643,13 @@ equivalent). Each week begins on a Monday. On input, accepts the
ISO8601 week number.
.TP
\fB%w\fR
+On output, produces the ordinal number of the day of the week
+(Sunday==0; Saturday==6). On input, accepts a single digit and
+interprets it as the day of the week; Sunday may be represented as
+either 0 or 7. Note that \fB%w\fR is not the ISO8601 weekday number,
+which is produced and accepted by \fB%u\fR.
+.TP
+\fB%W\fR
On output, produces a week number (00-53) within the year; week 01
begins on the first Monday of the year. On input, accepts two digits,
which are otherwise ignored. This format group is never used in