summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2018-07-25 01:43:43 (GMT)
committerKevin B Kenny <kennykb@acm.org>2018-07-25 01:43:43 (GMT)
commit54fbd7dbcb9247399d2ac512e9d5bc305114dd58 (patch)
tree0db9715d7a7bd37c5816740b448895ae8057bcad
parent772d2da10b02fc06220a92d5f9d4f33b752a9553 (diff)
parent0ae1df9bfc2950965bf60eff448a70180b7dcc0e (diff)
downloadtcl-54fbd7dbcb9247399d2ac512e9d5bc305114dd58.zip
tcl-54fbd7dbcb9247399d2ac512e9d5bc305114dd58.tar.gz
tcl-54fbd7dbcb9247399d2ac512e9d5bc305114dd58.tar.bz2
Resolve inadvertent fork
-rw-r--r--doc/clock.n13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/clock.n b/doc/clock.n
index ac50e36..dd7115b 100644
--- a/doc/clock.n
+++ b/doc/clock.n
@@ -452,6 +452,19 @@ If this situation occurs, the first occurrence of the time is chosen.
(For this reason, it is wise to have the input string contain the
time zone when converting local times. This caveat does not apply to
UTC times.)
+.PP
+If the interpretation of the groups yields an impossible time because
+a field is out of range, enough of that field's unit will be added to
+or subtracted from the time to bring it in range. Thus, if attempting to
+scan or format day 0 of the month, one day will be subtracted from day
+1 of the month, yielding the last day of the previous month.
+.PP
+If the interpretation of the groups yields an impossible time because
+a Daylight Saving Time change skips over that time, or an ambiguous
+time because a Daylight Saving Time change skips back so that the clock
+observes the given time twice, and no time zone specifier (\fB%z\fR
+or \fB%Z\fR) is present in the format, the time is interpreted as
+if the clock had not changed.
.SH "FORMAT GROUPS"
.PP
The following format groups are recognized by the \fBclock scan\fR and