summaryrefslogtreecommitdiffstats
path: root/doc/clock.n
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-12-12 17:42:52 (GMT)
committernijtmans <nijtmans>2008-12-12 17:42:52 (GMT)
commit5e59751a50b0e27533ef93600fe6c7e84d6e25bf (patch)
tree7fef5dd4f4fe6f6cf70cb3d9c6d6ac2a1dff7dde /doc/clock.n
parent6dfd3f4dec3ab26eb1ed5f12080e1c803946ea32 (diff)
downloadtcl-5e59751a50b0e27533ef93600fe6c7e84d6e25bf.zip
tcl-5e59751a50b0e27533ef93600fe6c7e84d6e25bf.tar.gz
tcl-5e59751a50b0e27533ef93600fe6c7e84d6e25bf.tar.bz2
Document new DST fallback rules.
Fix time change in Eastern Europe (not 3:00 but 4:00 local time) [Bug 2207436]
Diffstat (limited to 'doc/clock.n')
-rw-r--r--doc/clock.n17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/clock.n b/doc/clock.n
index 60042be..f4c3805 100644
--- a/doc/clock.n
+++ b/doc/clock.n
@@ -805,6 +805,23 @@ environment variable will be recognized. The specification
may be found at
\fIhttp://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html\fR.
.PP
+If the Posix time zone string contains a DST (Daylight Savings Time)
+part, but doesn't contain a rule stating when DST starts or ends,
+then default rules are used. For Timezones with an offset between 0
+and +12, the current European/Russian rules are used, otherwise the
+current US rules are used. In Europe (offset +0 to +2) the switch
+to summertime is done each last Sunday in March at 1:00 GMT, and
+the switch back is each last Sunday in October at 2:00 GMT. In
+Russia (offset +3 to +12), the switch dates are the same, only
+the switch to summertime is at 2:00 local time, and the switch
+back is at 3:00 local time in all time zones. The US switch to
+summertime takes place each second Sunday in March at 2:00 local
+time, and the switch back is each first Sunday in November at
+3:00 local time. These default rules mean that in all European,
+Russian and US (or compatible) time zones, DST calculations will
+be correct for dates in 2007 and later, unless in the future the
+rules change again.
+.PP
Any other time zone string is processed by prefixing a colon and attempting
to use it as a location name, as above.
.SH "LOCALIZATION"