xref: /freebsd/contrib/tzdata/etcetera (revision e273650f2c538034b45f78e670a89cbf333ab6db)
189abb9f8SPhilip Paeps# tzdb data for ships at sea and other miscellany
289abb9f8SPhilip Paeps
31315084cSEdwin Groothuis# This file is in the public domain, so clarified as of
41315084cSEdwin Groothuis# 2009-05-17 by Arthur David Olson.
51315084cSEdwin Groothuis
6dc505d53SPhilip Paeps# These entries are for uses not otherwise covered by the tz database.
7dc505d53SPhilip Paeps# Their main practical use is for platforms like Android that lack
8*e273650fSPhilip Paeps# support for POSIX proleptic TZ strings.  On such platforms these entries
9dc505d53SPhilip Paeps# can be useful if the timezone database is wrong or if a ship or
10dc505d53SPhilip Paeps# aircraft at sea is not in a timezone.
111315084cSEdwin Groothuis
128fdf5721SBaptiste Daroussin# Starting with POSIX 1003.1-2001, the entries below are all
138fdf5721SBaptiste Daroussin# unnecessary as settings for the TZ environment variable.  E.g.,
148fdf5721SBaptiste Daroussin# instead of TZ='Etc/GMT+4' one can use the POSIX setting TZ='<-04>+4'.
158fdf5721SBaptiste Daroussin#
168fdf5721SBaptiste Daroussin# Do not use a POSIX TZ setting like TZ='GMT+4', which is four hours
178fdf5721SBaptiste Daroussin# behind GMT but uses the completely misleading abbreviation "GMT".
188fdf5721SBaptiste Daroussin
199f9fc6bbSPhilip Paeps# The following zone is used by tzcode functions like gmtime,
209f9fc6bbSPhilip Paeps# which load the "UTC" file to handle seconds properly.
211315084cSEdwin GroothuisZone	Etc/UTC		0	-	UTC
221315084cSEdwin Groothuis
239142a2a3SPhilip Paeps# Functions like gmtime load the "GMT" file to handle leap seconds properly.
249142a2a3SPhilip Paeps# Vanguard section, which works with most .zi parsers.
259142a2a3SPhilip Paeps#Zone	GMT		0	-	GMT
269142a2a3SPhilip Paeps# Rearguard section, for TZUpdater 2.3.2 and earlier.
279142a2a3SPhilip PaepsZone	Etc/GMT		0	-	GMT
289142a2a3SPhilip Paeps
291315084cSEdwin Groothuis# The following link uses older naming conventions,
30eb1c1a05SSergey Kandaurov# but it belongs here, not in the file 'backward',
319f9fc6bbSPhilip Paeps# as it is needed for tzcode releases through 2022a,
329f9fc6bbSPhilip Paeps# where functions like gmtime load "GMT" instead of the "Etc/UTC".
339f9fc6bbSPhilip Paeps# We want this to work even on installations that omit 'backward'.
349f9fc6bbSPhilip PaepsLink	Etc/GMT				GMT
359142a2a3SPhilip Paeps# End of rearguard section.
361315084cSEdwin Groothuis
378fdf5721SBaptiste Daroussin# Be consistent with POSIX TZ settings in the Zone names,
381315084cSEdwin Groothuis# even though this is the opposite of what many people expect.
391315084cSEdwin Groothuis# POSIX has positive signs west of Greenwich, but many people expect
401315084cSEdwin Groothuis# positive signs east of Greenwich.  For example, TZ='Etc/GMT+4' uses
418fdf5721SBaptiste Daroussin# the abbreviation "-04" and corresponds to 4 hours behind UT
421315084cSEdwin Groothuis# (i.e. west of Greenwich) even though many people would expect it to
43c26a5802SEdwin Groothuis# mean 4 hours ahead of UT (i.e. east of Greenwich).
441315084cSEdwin Groothuis
451315084cSEdwin Groothuis# Earlier incarnations of this package were not POSIX-compliant,
461315084cSEdwin Groothuis# and had lines such as
471315084cSEdwin Groothuis#		Zone	GMT-12		-12	-	GMT-1200
481315084cSEdwin Groothuis# We did not want things to change quietly if someone accustomed to the old
491315084cSEdwin Groothuis# way does a
501315084cSEdwin Groothuis#		zic -l GMT-12
511315084cSEdwin Groothuis# so we moved the names into the Etc subdirectory.
528fdf5721SBaptiste Daroussin# Also, the time zone abbreviations are now compatible with %z.
531315084cSEdwin Groothuis
54*e273650fSPhilip PaepsZone	Etc/GMT-14	14	-	%z
55*e273650fSPhilip PaepsZone	Etc/GMT-13	13	-	%z
56*e273650fSPhilip PaepsZone	Etc/GMT-12	12	-	%z
57*e273650fSPhilip PaepsZone	Etc/GMT-11	11	-	%z
58*e273650fSPhilip PaepsZone	Etc/GMT-10	10	-	%z
59*e273650fSPhilip PaepsZone	Etc/GMT-9	9	-	%z
60*e273650fSPhilip PaepsZone	Etc/GMT-8	8	-	%z
61*e273650fSPhilip PaepsZone	Etc/GMT-7	7	-	%z
62*e273650fSPhilip PaepsZone	Etc/GMT-6	6	-	%z
63*e273650fSPhilip PaepsZone	Etc/GMT-5	5	-	%z
64*e273650fSPhilip PaepsZone	Etc/GMT-4	4	-	%z
65*e273650fSPhilip PaepsZone	Etc/GMT-3	3	-	%z
66*e273650fSPhilip PaepsZone	Etc/GMT-2	2	-	%z
67*e273650fSPhilip PaepsZone	Etc/GMT-1	1	-	%z
68*e273650fSPhilip PaepsZone	Etc/GMT+1	-1	-	%z
69*e273650fSPhilip PaepsZone	Etc/GMT+2	-2	-	%z
70*e273650fSPhilip PaepsZone	Etc/GMT+3	-3	-	%z
71*e273650fSPhilip PaepsZone	Etc/GMT+4	-4	-	%z
72*e273650fSPhilip PaepsZone	Etc/GMT+5	-5	-	%z
73*e273650fSPhilip PaepsZone	Etc/GMT+6	-6	-	%z
74*e273650fSPhilip PaepsZone	Etc/GMT+7	-7	-	%z
75*e273650fSPhilip PaepsZone	Etc/GMT+8	-8	-	%z
76*e273650fSPhilip PaepsZone	Etc/GMT+9	-9	-	%z
77*e273650fSPhilip PaepsZone	Etc/GMT+10	-10	-	%z
78*e273650fSPhilip PaepsZone	Etc/GMT+11	-11	-	%z
79*e273650fSPhilip PaepsZone	Etc/GMT+12	-12	-	%z
80