xref: /freebsd/contrib/tzdata/etcetera (revision 2723c7ff)
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
82723c7ffSPhilip Paeps# support for POSIX.1-2017-style 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
548fdf5721SBaptiste DaroussinZone	Etc/GMT-14	14	-	+14
558fdf5721SBaptiste DaroussinZone	Etc/GMT-13	13	-	+13
568fdf5721SBaptiste DaroussinZone	Etc/GMT-12	12	-	+12
578fdf5721SBaptiste DaroussinZone	Etc/GMT-11	11	-	+11
588fdf5721SBaptiste DaroussinZone	Etc/GMT-10	10	-	+10
598fdf5721SBaptiste DaroussinZone	Etc/GMT-9	9	-	+09
608fdf5721SBaptiste DaroussinZone	Etc/GMT-8	8	-	+08
618fdf5721SBaptiste DaroussinZone	Etc/GMT-7	7	-	+07
628fdf5721SBaptiste DaroussinZone	Etc/GMT-6	6	-	+06
638fdf5721SBaptiste DaroussinZone	Etc/GMT-5	5	-	+05
648fdf5721SBaptiste DaroussinZone	Etc/GMT-4	4	-	+04
658fdf5721SBaptiste DaroussinZone	Etc/GMT-3	3	-	+03
668fdf5721SBaptiste DaroussinZone	Etc/GMT-2	2	-	+02
678fdf5721SBaptiste DaroussinZone	Etc/GMT-1	1	-	+01
688fdf5721SBaptiste DaroussinZone	Etc/GMT+1	-1	-	-01
698fdf5721SBaptiste DaroussinZone	Etc/GMT+2	-2	-	-02
708fdf5721SBaptiste DaroussinZone	Etc/GMT+3	-3	-	-03
718fdf5721SBaptiste DaroussinZone	Etc/GMT+4	-4	-	-04
728fdf5721SBaptiste DaroussinZone	Etc/GMT+5	-5	-	-05
738fdf5721SBaptiste DaroussinZone	Etc/GMT+6	-6	-	-06
748fdf5721SBaptiste DaroussinZone	Etc/GMT+7	-7	-	-07
758fdf5721SBaptiste DaroussinZone	Etc/GMT+8	-8	-	-08
768fdf5721SBaptiste DaroussinZone	Etc/GMT+9	-9	-	-09
778fdf5721SBaptiste DaroussinZone	Etc/GMT+10	-10	-	-10
788fdf5721SBaptiste DaroussinZone	Etc/GMT+11	-11	-	-11
798fdf5721SBaptiste DaroussinZone	Etc/GMT+12	-12	-	-12
80