xref: /illumos-gate/usr/src/data/zoneinfo/etcetera (revision e15592c8dabdb93c1b45a4785db35f013e0b49f9)
105e627dcSAndy Fiddaman# tzdb data for ships at sea and other miscellany
205e627dcSAndy Fiddaman
3503609a9SYuri Pankov# This file is in the public domain, so clarified as of
4503609a9SYuri Pankov# 2009-05-17 by Arthur David Olson.
5503609a9SYuri Pankov
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.
11503609a9SYuri Pankov
12503609a9SYuri Pankov# Starting with POSIX 1003.1-2001, the entries below are all
13503609a9SYuri Pankov# unnecessary as settings for the TZ environment variable.  E.g.,
14503609a9SYuri Pankov# instead of TZ='Etc/GMT+4' one can use the POSIX setting TZ='<-04>+4'.
15503609a9SYuri Pankov#
16503609a9SYuri Pankov# Do not use a POSIX TZ setting like TZ='GMT+4', which is four hours
17503609a9SYuri Pankov# behind GMT but uses the completely misleading abbreviation "GMT".
18503609a9SYuri Pankov
19427b4c5cSAndy Fiddaman# The following zone is used by tzcode functions like gmtime,
20427b4c5cSAndy Fiddaman# which load the "UTC" file to handle seconds properly.
21503609a9SYuri PankovZone	Etc/UTC		0	-	UTC
22503609a9SYuri Pankov
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
29503609a9SYuri Pankov# The following link uses older naming conventions,
30503609a9SYuri Pankov# 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'.
34503609a9SYuri PankovLink	Etc/GMT				GMT
35f117aa50SRobert Mustacchi# End of rearguard section.
36503609a9SYuri Pankov
37503609a9SYuri Pankov# Be consistent with POSIX TZ settings in the Zone names,
38503609a9SYuri Pankov# even though this is the opposite of what many people expect.
39503609a9SYuri Pankov# POSIX has positive signs west of Greenwich, but many people expect
40503609a9SYuri Pankov# positive signs east of Greenwich.  For example, TZ='Etc/GMT+4' uses
41503609a9SYuri Pankov# the abbreviation "-04" and corresponds to 4 hours behind UT
42503609a9SYuri Pankov# (i.e. west of Greenwich) even though many people would expect it to
43503609a9SYuri Pankov# mean 4 hours ahead of UT (i.e. east of Greenwich).
44503609a9SYuri Pankov
45503609a9SYuri Pankov# Earlier incarnations of this package were not POSIX-compliant,
46503609a9SYuri Pankov# and had lines such as
47503609a9SYuri Pankov#		Zone	GMT-12		-12	-	GMT-1200
48503609a9SYuri Pankov# We did not want things to change quietly if someone accustomed to the old
49503609a9SYuri Pankov# way does a
50503609a9SYuri Pankov#		zic -l GMT-12
51503609a9SYuri Pankov# so we moved the names into the Etc subdirectory.
52503609a9SYuri Pankov# Also, the time zone abbreviations are now compatible with %z.
53503609a9SYuri Pankov
54503609a9SYuri PankovZone	Etc/GMT-14	14	-	+14
55503609a9SYuri PankovZone	Etc/GMT-13	13	-	+13
56503609a9SYuri PankovZone	Etc/GMT-12	12	-	+12
57503609a9SYuri PankovZone	Etc/GMT-11	11	-	+11
58503609a9SYuri PankovZone	Etc/GMT-10	10	-	+10
59503609a9SYuri PankovZone	Etc/GMT-9	9	-	+09
60503609a9SYuri PankovZone	Etc/GMT-8	8	-	+08
61503609a9SYuri PankovZone	Etc/GMT-7	7	-	+07
62503609a9SYuri PankovZone	Etc/GMT-6	6	-	+06
63503609a9SYuri PankovZone	Etc/GMT-5	5	-	+05
64503609a9SYuri PankovZone	Etc/GMT-4	4	-	+04
65503609a9SYuri PankovZone	Etc/GMT-3	3	-	+03
66503609a9SYuri PankovZone	Etc/GMT-2	2	-	+02
67503609a9SYuri PankovZone	Etc/GMT-1	1	-	+01
68503609a9SYuri PankovZone	Etc/GMT+1	-1	-	-01
69503609a9SYuri PankovZone	Etc/GMT+2	-2	-	-02
70503609a9SYuri PankovZone	Etc/GMT+3	-3	-	-03
71503609a9SYuri PankovZone	Etc/GMT+4	-4	-	-04
72503609a9SYuri PankovZone	Etc/GMT+5	-5	-	-05
73503609a9SYuri PankovZone	Etc/GMT+6	-6	-	-06
74503609a9SYuri PankovZone	Etc/GMT+7	-7	-	-07
75503609a9SYuri PankovZone	Etc/GMT+8	-8	-	-08
76503609a9SYuri PankovZone	Etc/GMT+9	-9	-	-09
77503609a9SYuri PankovZone	Etc/GMT+10	-10	-	-10
78503609a9SYuri PankovZone	Etc/GMT+11	-11	-	-11
79503609a9SYuri PankovZone	Etc/GMT+12	-12	-	-12
80