xref: /illumos-gate/usr/src/data/zoneinfo/etcetera (revision e15592c8)
105e627dcSAndy Fiddaman# tzdb data for ships at sea and other miscellany
205e627dcSAndy Fiddaman
3707182d7SNobutomo Nakano# This file is in the public domain, so clarified as of
4707182d7SNobutomo Nakano# 2009-05-17 by Arthur David Olson.
57c478bd9Sstevel@tonic-gate
6f915e6d3SRobert Mustacchi# These entries are for uses not otherwise covered by the tz database.
7f915e6d3SRobert Mustacchi# Their main practical use is for platforms like Android that lack
8*e15592c8SRobert Mustacchi# support for POSIX.1-2017-style TZ strings.  On such platforms these entries
9f915e6d3SRobert Mustacchi# can be useful if the timezone database is wrong or if a ship or
10f915e6d3SRobert Mustacchi# aircraft at sea is not in a timezone.
117c478bd9Sstevel@tonic-gate
12c2d5ab87SDan McDonald# Starting with POSIX 1003.1-2001, the entries below are all
13c2d5ab87SDan McDonald# unnecessary as settings for the TZ environment variable.  E.g.,
14c2d5ab87SDan McDonald# instead of TZ='Etc/GMT+4' one can use the POSIX setting TZ='<-04>+4'.
15c2d5ab87SDan McDonald#
16c2d5ab87SDan McDonald# Do not use a POSIX TZ setting like TZ='GMT+4', which is four hours
17c2d5ab87SDan McDonald# behind GMT but uses the completely misleading abbreviation "GMT".
18c2d5ab87SDan McDonald
19427b4c5cSAndy Fiddaman# The following zone is used by tzcode functions like gmtime,
20427b4c5cSAndy Fiddaman# which load the "UTC" file to handle seconds properly.
217c478bd9Sstevel@tonic-gateZone	Etc/UTC		0	-	UTC
227c478bd9Sstevel@tonic-gate
23f117aa50SRobert Mustacchi# Functions like gmtime load the "GMT" file to handle leap seconds properly.
24f117aa50SRobert Mustacchi# Vanguard section, which works with most .zi parsers.
25f117aa50SRobert Mustacchi#Zone	GMT		0	-	GMT
26f117aa50SRobert Mustacchi# Rearguard section, for TZUpdater 2.3.2 and earlier.
27f117aa50SRobert MustacchiZone	Etc/GMT		0	-	GMT
28f117aa50SRobert Mustacchi
297c478bd9Sstevel@tonic-gate# The following link uses older naming conventions,
306f8e8937SDan McDonald# but it belongs here, not in the file 'backward',
31427b4c5cSAndy Fiddaman# as it is needed for tzcode releases through 2022a,
32427b4c5cSAndy Fiddaman# where functions like gmtime load "GMT" instead of the "Etc/UTC".
33427b4c5cSAndy Fiddaman# We want this to work even on installations that omit 'backward'.
347c478bd9Sstevel@tonic-gateLink	Etc/GMT				GMT
35f117aa50SRobert Mustacchi# End of rearguard section.
367c478bd9Sstevel@tonic-gate
37c2d5ab87SDan McDonald# Be consistent with POSIX TZ settings in the Zone names,
387c478bd9Sstevel@tonic-gate# even though this is the opposite of what many people expect.
397c478bd9Sstevel@tonic-gate# POSIX has positive signs west of Greenwich, but many people expect
407c478bd9Sstevel@tonic-gate# positive signs east of Greenwich.  For example, TZ='Etc/GMT+4' uses
41c2d5ab87SDan McDonald# the abbreviation "-04" and corresponds to 4 hours behind UT
427c478bd9Sstevel@tonic-gate# (i.e. west of Greenwich) even though many people would expect it to
43a43ba736SRobert Mustacchi# mean 4 hours ahead of UT (i.e. east of Greenwich).
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gate# Earlier incarnations of this package were not POSIX-compliant,
467c478bd9Sstevel@tonic-gate# and had lines such as
477c478bd9Sstevel@tonic-gate#		Zone	GMT-12		-12	-	GMT-1200
487c478bd9Sstevel@tonic-gate# We did not want things to change quietly if someone accustomed to the old
497c478bd9Sstevel@tonic-gate# way does a
507c478bd9Sstevel@tonic-gate#		zic -l GMT-12
517c478bd9Sstevel@tonic-gate# so we moved the names into the Etc subdirectory.
52c2d5ab87SDan McDonald# Also, the time zone abbreviations are now compatible with %z.
537c478bd9Sstevel@tonic-gate
54c2d5ab87SDan McDonaldZone	Etc/GMT-14	14	-	+14
55c2d5ab87SDan McDonaldZone	Etc/GMT-13	13	-	+13
56c2d5ab87SDan McDonaldZone	Etc/GMT-12	12	-	+12
57c2d5ab87SDan McDonaldZone	Etc/GMT-11	11	-	+11
58c2d5ab87SDan McDonaldZone	Etc/GMT-10	10	-	+10
59c2d5ab87SDan McDonaldZone	Etc/GMT-9	9	-	+09
60c2d5ab87SDan McDonaldZone	Etc/GMT-8	8	-	+08
61c2d5ab87SDan McDonaldZone	Etc/GMT-7	7	-	+07
62c2d5ab87SDan McDonaldZone	Etc/GMT-6	6	-	+06
63c2d5ab87SDan McDonaldZone	Etc/GMT-5	5	-	+05
64c2d5ab87SDan McDonaldZone	Etc/GMT-4	4	-	+04
65c2d5ab87SDan McDonaldZone	Etc/GMT-3	3	-	+03
66c2d5ab87SDan McDonaldZone	Etc/GMT-2	2	-	+02
67c2d5ab87SDan McDonaldZone	Etc/GMT-1	1	-	+01
68c2d5ab87SDan McDonaldZone	Etc/GMT+1	-1	-	-01
69c2d5ab87SDan McDonaldZone	Etc/GMT+2	-2	-	-02
70c2d5ab87SDan McDonaldZone	Etc/GMT+3	-3	-	-03
71c2d5ab87SDan McDonaldZone	Etc/GMT+4	-4	-	-04
72c2d5ab87SDan McDonaldZone	Etc/GMT+5	-5	-	-05
73c2d5ab87SDan McDonaldZone	Etc/GMT+6	-6	-	-06
74c2d5ab87SDan McDonaldZone	Etc/GMT+7	-7	-	-07
75c2d5ab87SDan McDonaldZone	Etc/GMT+8	-8	-	-08
76c2d5ab87SDan McDonaldZone	Etc/GMT+9	-9	-	-09
77c2d5ab87SDan McDonaldZone	Etc/GMT+10	-10	-	-10
78c2d5ab87SDan McDonaldZone	Etc/GMT+11	-11	-	-11
79c2d5ab87SDan McDonaldZone	Etc/GMT+12	-12	-	-12
80