Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/share/zoneinfo Pull up revision 1.1.1.4 (requested by k...



details:   https://anonhg.NetBSD.org/src/rev/f15c2b785caa
branches:  netbsd-1-5
changeset: 491257:f15c2b785caa
user:      he <he%NetBSD.org@localhost>
date:      Sat Apr 21 19:17:19 2001 +0000

description:
Pull up revision 1.1.1.4 (requested by kleink):
  Update to tzdata2001b; includes fix for current DST in Mexico.

diffstat:

 share/zoneinfo/etcetera |  24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r f1cec60ad29b -r f15c2b785caa share/zoneinfo/etcetera
--- a/share/zoneinfo/etcetera   Sat Apr 21 19:17:02 2001 +0000
+++ b/share/zoneinfo/etcetera   Sat Apr 21 19:17:19 2001 +0000
@@ -1,4 +1,4 @@
-# @(#)etcetera 7.10
+# @(#)etcetera 7.11
 
 # These entries are mostly present for historical reasons, so that
 # people in areas not otherwise covered by the tz files could "zic -l"
@@ -24,10 +24,24 @@
 Link   Etc/GMT                         Etc/GMT+0
 Link   Etc/GMT                         Etc/GMT0
 
-# We use POSIX-style signedness in the names and output,
-# internal-style signedness in the specifications.
-# For example, TZ=Etc/GMT+4 corresponds to 4 hours _behind_ UTC;
-# it is equivalent to TZ=GMT+4, which is implemented directly as per POSIX.
+# We use POSIX-style signs in the Zone names and the output abbreviations,
+# even though this is the opposite of what many people expect.
+# POSIX has positive signs west of Greenwich, but many people expect
+# positive signs east of Greenwich.  For example, TZ='Etc/GMT+4' uses
+# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC
+# (i.e. west of Greenwich) even though many people would expect it to
+# mean 4 hours ahead of UTC (i.e. east of Greenwich).
+#
+# In the draft 5 of POSIX 1003.1-200x, the angle bracket notation
+# (which is not yet supported by the tz code) allows for
+# TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to
+# ISO 8601 you can use TZ='<-0400>+4'.  Thus the commonly-expected
+# offset is kept within the angle bracket (and is used for display)
+# while the POSIX sign is kept outside the angle bracket (and is used
+# for calculation).
+#
+# Do not use a TZ setting like TZ='GMT+4', which is four hours behind
+# GMT but uses the completely misleading abbreviation "GMT".
 
 # Earlier incarnations of this package were not POSIX-compliant,
 # and had lines such as



Home | Main Index | Thread Index | Old Index