summaryrefslogtreecommitdiffstats
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
parent3ab2242ba8e613f075243e4baa3dc2e7406b6e62 (diff)
downloadtcl-bd188b28723025d11220f7f3f71d41517a5104e9.zip
tcl-bd188b28723025d11220f7f3f71d41517a5104e9.tar.gz
tcl-bd188b28723025d11220f7f3f71d41517a5104e9.tar.bz2
Bug 1359183
-rw-r--r--ChangeLog6
-rw-r--r--doc/clock.n7
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ec4f54..d5db118 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-18 Kevin B. Kenny <kennykb@acm.org>
+
+ * doc/clock.n: Restored several missing lines near the %w
+ format group so that %w and %W are documented with their
+ actual behaviour. [Bug 1359183]
+
2005-11-18 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclIO.c (TclFinalizeIOSubsystem): preserve statePtr
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