Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 74a20d0

Browse files
committed
Update time zone data files to tzdata release 2017b.
DST law changes in Chile, Haiti, and Mongolia. Historical corrections for Ecuador, Kazakhstan, Liberia, and Spain. The IANA crew continue their campaign to replace invented time zone abbrevations with numeric GMT offsets. This update changes numerous zones in South America, the Pacific and Indian oceans, and some Asian and Middle Eastern zones. I kept these abbreviations in the tznames/ data files, however, so that we will still accept them for input. (We may want to start trimming those files someday, but I think we should wait for the upstream dust to settle before deciding what to do.) In passing, add MESZ (Mitteleuropaeische Sommerzeit) to the tznames lists; since we accept MEZ (Mitteleuropaeische Zeit) it seems rather strange not to take the other one. And fix some incorrect, or at least obsolete, comments that certain abbreviations are not traceable to the IANA data.
1 parent bdac983 commit 74a20d0

20 files changed

+1063
-1307
lines changed

src/timezone/data/africa

Lines changed: 65 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
# tz@iana.org for general use in the future). For more, please see
77
# the file CONTRIBUTING in the tz distribution.
88

9-
# From Paul Eggert (2014-10-31):
9+
# From Paul Eggert (2017-02-20):
1010
#
1111
# Unless otherwise specified, the source for data through 1990 is:
1212
# Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
1313
# San Diego: ACS Publications, Inc. (2003).
1414
# Unfortunately this book contains many errors and cites no sources.
1515
#
16-
# Gwillim Law writes that a good source
17-
# for recent time zone data is the International Air Transport
16+
# Many years ago Gwillim Law wrote that a good source
17+
# for time zone data was the International Air Transport
1818
# Association's Standard Schedules Information Manual (IATA SSIM),
1919
# published semiannually. Law sent in several helpful summaries
2020
# of the IATA's data after 1990. Except where otherwise noted,
@@ -31,39 +31,33 @@
3131
# A reliable and entertaining source about time zones is
3232
# Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997).
3333
#
34+
# European-style abbreviations are commonly used along the Mediterranean.
35+
# For sub-Saharan Africa abbreviations were less standardized.
3436
# Previous editions of this database used WAT, CAT, SAT, and EAT
35-
# for +0:00 through +3:00, respectively,
36-
# but Mark R V Murray reports that
37-
# 'SAST' is the official abbreviation for +2:00 in the country of South Africa,
38-
# 'CAT' is commonly used for +2:00 in countries north of South Africa, and
39-
# 'WAT' is probably the best name for +1:00, as the common phrase for
37+
# for UT +00 through +03, respectively,
38+
# but in 1997 Mark R V Murray reported that
39+
# 'SAST' is the official abbreviation for +02 in the country of South Africa,
40+
# 'CAT' is commonly used for +02 in countries north of South Africa, and
41+
# 'WAT' is probably the best name for +01, as the common phrase for
4042
# the area that includes Nigeria is "West Africa".
41-
# He has heard of "Western Sahara Time" for +0:00 but can find no reference.
42-
#
43-
# To make things confusing, 'WAT' seems to have been used for -1:00 long ago;
44-
# I'd guess that this was because people needed _some_ name for -1:00,
45-
# and at the time, far west Africa was the only major land area in -1:00.
46-
# This usage is now obsolete, as the last use of -1:00 on the African
47-
# mainland seems to have been 1976 in Western Sahara.
48-
#
49-
# To summarize, the following abbreviations seem to have some currency:
50-
# -1:00 WAT West Africa Time (no longer used)
51-
# 0:00 GMT Greenwich Mean Time
52-
# 2:00 CAT Central Africa Time
53-
# 2:00 SAST South Africa Standard Time
54-
# and Murray suggests the following abbreviation:
55-
# 1:00 WAT West Africa Time
56-
# I realize that this leads to 'WAT' being used for both -1:00 and 1:00
57-
# for times before 1976, but this is the best I can think of
58-
# until we get more information.
43+
#
44+
# To summarize, the following abbreviations seemed to have some currency:
45+
# +00 GMT Greenwich Mean Time
46+
# +02 CAT Central Africa Time
47+
# +02 SAST South Africa Standard Time
48+
# and Murray suggested the following abbreviation:
49+
# +01 WAT West Africa Time
50+
# Murray's suggestion seems to have caught on in news reports and the like.
51+
# I vaguely recall 'WAT' also being used for -01 in the past but
52+
# cannot now come up with solid citations.
5953
#
6054
# I invented the following abbreviations; corrections are welcome!
61-
# 2:00 WAST West Africa Summer Time
62-
# 2:30 BEAT British East Africa Time (no longer used)
63-
# 2:45 BEAUT British East Africa Unified Time (no longer used)
64-
# 3:00 CAST Central Africa Summer Time (no longer used)
65-
# 3:00 SAST South Africa Summer Time (no longer used)
66-
# 3:00 EAT East Africa Time
55+
# +02 WAST West Africa Summer Time
56+
# +03 CAST Central Africa Summer Time (no longer used)
57+
# +03 SAST South Africa Summer Time (no longer used)
58+
# +03 EAT East Africa Time
59+
# 'EAT' also seems to have caught on; the others are rare but are paired
60+
# with better-attested non-DST abbreviations.
6761

6862
# Algeria
6963
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
@@ -121,17 +115,17 @@ Zone Africa/Algiers 0:12:12 - LMT 1891 Mar 15 0:01
121115

122116
# Cape Verde / Cabo Verde
123117
#
124-
# Shanks gives 1907 for the transition to CVT.
118+
# Shanks gives 1907 for the transition to +02.
125119
# Perhaps the 1911-05-26 Portuguese decree
126-
# http://dre.pt/pdf1sdip/1911/05/12500/23132313.pdf
120+
# https://dre.pt/pdf1sdip/1911/05/12500/23132313.pdf
127121
# merely made it official?
128122
#
129123
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
130124
Zone Atlantic/Cape_Verde -1:34:04 - LMT 1907 # Praia
131-
-2:00 - CVT 1942 Sep
132-
-2:00 1:00 CVST 1945 Oct 15
133-
-2:00 - CVT 1975 Nov 25 2:00
134-
-1:00 - CVT
125+
-2:00 - -02 1942 Sep
126+
-2:00 1:00 -01 1945 Oct 15
127+
-2:00 - -02 1975 Nov 25 2:00
128+
-1:00 - -01
135129

136130
# Central African Republic
137131
# See Africa/Lagos.
@@ -388,7 +382,7 @@ Rule Ghana 1920 1942 - Sep 1 0:00 0:20 GHST
388382
Rule Ghana 1920 1942 - Dec 31 0:00 0 GMT
389383
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
390384
Zone Africa/Accra -0:00:52 - LMT 1918
391-
0:00 Ghana %s
385+
0:00 Ghana GMT/+0020
392386

393387
# Guinea
394388
# See Africa/Abidjan.
@@ -397,20 +391,20 @@ Zone Africa/Accra -0:00:52 - LMT 1918
397391
#
398392
# Shanks gives 1911-05-26 for the transition to WAT,
399393
# evidently confusing the date of the Portuguese decree
400-
# http://dre.pt/pdf1sdip/1911/05/12500/23132313.pdf
394+
# https://dre.pt/pdf1sdip/1911/05/12500/23132313.pdf
401395
# with the date that it took effect, namely 1912-01-01.
402396
#
403397
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
404398
Zone Africa/Bissau -1:02:20 - LMT 1912 Jan 1
405-
-1:00 - WAT 1975
399+
-1:00 - -01 1975
406400
0:00 - GMT
407401

408402
# Kenya
409403
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
410404
Zone Africa/Nairobi 2:27:16 - LMT 1928 Jul
411405
3:00 - EAT 1930
412-
2:30 - BEAT 1940
413-
2:45 - BEAUT 1960
406+
2:30 - +0230 1940
407+
2:45 - +0245 1960
414408
3:00 - EAT
415409
Link Africa/Nairobi Africa/Addis_Ababa # Ethiopia
416410
Link Africa/Nairobi Africa/Asmara # Eritrea
@@ -426,18 +420,25 @@ Link Africa/Nairobi Indian/Mayotte
426420
# See Africa/Johannesburg.
427421

428422
# Liberia
429-
# From Paul Eggert (2006-03-22):
430-
# In 1972 Liberia was the last country to switch
431-
# from a UTC offset that was not a multiple of 15 or 20 minutes.
432-
# Howse reports that it was in honor of their president's birthday.
433-
# Shank & Pottenger report the date as May 1, whereas Howse reports Jan;
434-
# go with Shanks & Pottenger.
435-
# For Liberia before 1972, Shanks & Pottenger report -0:44, whereas Howse and
436-
# Whitman each report -0:44:30; go with the more precise figure.
423+
#
424+
# From Paul Eggert (2017-03-02):
425+
#
426+
# The Nautical Almanac for the Year 1970, p 264, is the source for -0:44:30.
427+
#
428+
# In 1972 Liberia was the last country to switch from a UTC offset
429+
# that was not a multiple of 15 or 20 minutes. The 1972 change was on
430+
# 1972-01-07, according to an entry dated 1972-01-04 on p 330 of:
431+
# Presidential Papers: First year of the administration of
432+
# President William R. Tolbert, Jr., July 23, 1971-July 31, 1972.
433+
# Monrovia: Executive Mansion.
434+
#
435+
# Use the abbreviation "MMT" before 1972, as the more-accurate numeric
436+
# abbreviation "-004430" would be one byte over the POSIX limit.
437+
#
437438
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
438439
Zone Africa/Monrovia -0:43:08 - LMT 1882
439440
-0:43:08 - MMT 1919 Mar # Monrovia Mean Time
440-
-0:44:30 - LRT 1972 May # Liberia Time
441+
-0:44:30 - MMT 1972 Jan 7 # approximately MMT
441442
0:00 - GMT
442443

443444
###############################################################################
@@ -596,7 +597,7 @@ Rule Mauritius 2008 only - Oct lastSun 2:00 1:00 S
596597
Rule Mauritius 2009 only - Mar lastSun 2:00 0 -
597598
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
598599
Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
599-
4:00 Mauritius MU%sT # Mauritius Time
600+
4:00 Mauritius +04/+05
600601
# Agalega Is, Rodriguez
601602
# no information; probably like Indian/Mauritius
602603

@@ -915,14 +916,14 @@ Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
915916
# since most of it was then controlled by Morocco.
916917

917918
Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan # El Aaiún
918-
-1:00 - WAT 1976 Apr 14
919+
-1:00 - -01 1976 Apr 14
919920
0:00 Morocco WE%sT
920921

921922
# Mozambique
922923
#
923924
# Shanks gives 1903-03-01 for the transition to CAT.
924925
# Perhaps the 1911-05-26 Portuguese decree
925-
# http://dre.pt/pdf1sdip/1911/05/12500/23132313.pdf
926+
# https://dre.pt/pdf1sdip/1911/05/12500/23132313.pdf
926927
# merely made it official?
927928
#
928929
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
@@ -949,16 +950,19 @@ Link Africa/Maputo Africa/Lusaka # Zambia
949950
# the country are close to 40 minutes earlier in sunrise than the rest
950951
# of the country.
951952
#
952-
# From Paul Eggert (2007-03-31):
953-
# Apparently the Caprivi Strip informally observes Botswana time, but
954-
# we have no details. In the meantime people there can use Africa/Gaborone.
953+
# From Paul Eggert (2017-02-22):
954+
# Although the Zambezi Region (formerly known as Caprivi) informally
955+
# observes Botswana time, we have no details about historical practice.
956+
# In the meantime people there can use Africa/Gaborone.
957+
# See: Immanuel S. The Namibian. 2017-02-23.
958+
# http://www.namibian.com.na/51480/read/Time-change-divides-lawmakers
955959

956960
# RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S
957961
Rule Namibia 1994 max - Sep Sun>=1 2:00 1:00 S
958962
Rule Namibia 1995 max - Apr Sun>=1 2:00 0 -
959963
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
960964
Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
961-
1:30 - SWAT 1903 Mar # SW Africa Time
965+
1:30 - +0130 1903 Mar
962966
2:00 - SAST 1942 Sep 20 2:00
963967
2:00 1:00 SAST 1943 Mar 21 2:00
964968
2:00 - SAST 1990 Mar 21 # independence
@@ -985,7 +989,7 @@ Link Africa/Lagos Africa/Porto-Novo # Benin
985989
# Réunion
986990
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
987991
Zone Indian/Reunion 3:41:52 - LMT 1911 Jun # Saint-Denis
988-
4:00 - RET # Réunion Time
992+
4:00 - +04
989993
#
990994
# Crozet Islands also observes Réunion time; see the 'antarctica' file.
991995
#
@@ -1020,7 +1024,7 @@ Zone Indian/Reunion 3:41:52 - LMT 1911 Jun # Saint-Denis
10201024
# Seychelles
10211025
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
10221026
Zone Indian/Mahe 3:41:48 - LMT 1906 Jun # Victoria
1023-
4:00 - SCT # Seychelles Time
1027+
4:00 - +04
10241028
# From Paul Eggert (2001-05-30):
10251029
# Aldabra, Farquhar, and Desroches, originally dependencies of the
10261030
# Seychelles, were transferred to the British Indian Ocean Territory

src/timezone/data/antarctica

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ Zone Antarctica/Mawson 0 - -00 1954 Feb 13
110110
# O'Higgins, Antarctic Peninsula, -6319-05704, since 1948-02
111111
# Prat, -6230-05941
112112
# Villa Las Estrellas (a town), around the Frei base, since 1984-04-09
113-
# These locations have always used Santiago time; use TZ='America/Santiago'.
113+
# These locations employ Region of Magallanes time; use
114+
# TZ='America/Punta_Arenas'.
114115

115116
# China - year-round bases
116117
# Great Wall, King George Island, -6213-05858, since 1985-02-20

0 commit comments

Comments
 (0)