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

Commit ae7f1c3

Browse files
committed
Update time zone data files to tzdata release 2013b.
DST law changes in Chile, Haiti, Morocco, Paraguay, some Russian areas. Historical corrections for numerous places.
1 parent 58bc481 commit ae7f1c3

File tree

8 files changed

+324
-67
lines changed

8 files changed

+324
-67
lines changed

src/timezone/data/africa

+69-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# go ahead and edit the file (and please send any changes to
77
# tz@iana.org for general use in the future).
88

9-
# From Paul Eggert (2006-03-22):
9+
# From Paul Eggert (2013-02-21):
1010
#
1111
# A good source for time zone historical data outside the U.S. is
1212
# Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -25,6 +25,10 @@
2525
# Whitman Publishing Co, 2 Niagara Av, Ealing, London (undated), which
2626
# I found in the UCLA library.
2727
#
28+
# For data circa 1899, a common source is:
29+
# Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94
30+
# <http://www.jstor.org/stable/1774359>.
31+
#
2832
# A reliable and entertaining source about time zones is
2933
# Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997).
3034
#
@@ -116,8 +120,12 @@ Zone Africa/Porto-Novo 0:10:28 - LMT 1912
116120
1:00 - WAT
117121

118122
# Botswana
123+
# From Paul Eggert (2013-02-21):
124+
# Milne says they were regulated by the Cape Town Signal in 1899;
125+
# assume they switched to 2:00 when Cape Town did.
119126
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
120127
Zone Africa/Gaborone 1:43:40 - LMT 1885
128+
1:30 - SAST 1903 Mar
121129
2:00 - CAT 1943 Sep 19 2:00
122130
2:00 1:00 CAST 1944 Mar 19 2:00
123131
2:00 - CAT
@@ -189,6 +197,11 @@ Zone Africa/Djibouti 2:52:36 - LMT 1911 Jul
189197

190198
# Egypt
191199

200+
# Milne says Cairo used 2:05:08.9, the local mean time of the Abbasizeh
201+
# observatory; round to nearest. Milne also says that the official time for
202+
# Egypt was mean noon at the Great Pyramid, 2:04:30.5, but apparently this
203+
# did not apply to Cairo, Alexandria, or Port Said.
204+
192205
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
193206
Rule Egypt 1940 only - Jul 15 0:00 1:00 S
194207
Rule Egypt 1940 only - Oct 1 0:00 0 -
@@ -329,7 +342,7 @@ Rule Egypt 2010 only - Sep 10 0:00 1:00 S
329342
Rule Egypt 2010 only - Sep lastThu 23:00s 0 -
330343

331344
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
332-
Zone Africa/Cairo 2:05:00 - LMT 1900 Oct
345+
Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
333346
2:00 Egypt EE%sT
334347

335348
# Equatorial Guinea
@@ -833,6 +846,41 @@ Zone Indian/Mayotte 3:00:56 - LMT 1911 Jul # Mamoutzou
833846
# 3:00 am Friday, July 20, 2012 and will again be advanced by 60 minutes
834847
# August 20, 2012 from 2:00 am.
835848

849+
# From Paul Eggert (2013-03-06):
850+
# Morocco's daylight-saving transitions due to Ramadan seem to be
851+
# announced a bit in advance. On 2012-07-11 the Moroccan government
852+
# announced that year's Ramadan daylight-saving transitions would be
853+
# 2012-07-20 and 2012-08-20; see
854+
# <http://www.mmsp.gov.ma/fr/actualites.aspx?id=288>.
855+
#
856+
# To estimate what the Moroccan government will do in future years,
857+
# transition dates for 2013 through 2021 were determined by running
858+
# the following program under GNU Emacs 24.3:
859+
#
860+
# (let ((islamic-year 1434))
861+
# (while (< islamic-year 1444)
862+
# (let ((a
863+
# (calendar-gregorian-from-absolute
864+
# (calendar-islamic-to-absolute (list 9 1 islamic-year))))
865+
# (b
866+
# (calendar-gregorian-from-absolute
867+
# (calendar-islamic-to-absolute (list 10 1 islamic-year)))))
868+
# (insert
869+
# (format
870+
# (concat "Rule\tMorocco\t%d\tonly\t-\t%s\t %2d\t 3:00\t0\t-\n"
871+
# "Rule\tMorocco\t%d\tonly\t-\t%s\t %2d\t 2:00\t1:00\tS\n")
872+
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
873+
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
874+
# (setq islamic-year (+ 1 islamic-year))))
875+
#
876+
# with the results hand-edited for 2020-2022, when the normal spring-forward
877+
# date falls during the estimated Ramadan.
878+
#
879+
# From 2023 through 2038 Ramadan is not predicted to overlap with
880+
# daylight saving time. Starting in 2039 there will be overlap again,
881+
# but 32-bit time_t values roll around in 2038 so for now do not worry
882+
# about dates after 2038.
883+
836884
# RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S
837885

838886
Rule Morocco 1939 only - Sep 12 0:00 1:00 S
@@ -858,10 +906,28 @@ Rule Morocco 2010 only - May 2 0:00 1:00 S
858906
Rule Morocco 2010 only - Aug 8 0:00 0 -
859907
Rule Morocco 2011 only - Apr 3 0:00 1:00 S
860908
Rule Morocco 2011 only - Jul 31 0 0 -
861-
Rule Morocco 2012 max - Apr lastSun 2:00 1:00 S
909+
Rule Morocco 2012 2019 - Apr lastSun 2:00 1:00 S
862910
Rule Morocco 2012 max - Sep lastSun 3:00 0 -
863911
Rule Morocco 2012 only - Jul 20 3:00 0 -
864912
Rule Morocco 2012 only - Aug 20 2:00 1:00 S
913+
Rule Morocco 2013 only - Jul 9 3:00 0 -
914+
Rule Morocco 2013 only - Aug 8 2:00 1:00 S
915+
Rule Morocco 2014 only - Jun 29 3:00 0 -
916+
Rule Morocco 2014 only - Jul 29 2:00 1:00 S
917+
Rule Morocco 2015 only - Jun 18 3:00 0 -
918+
Rule Morocco 2015 only - Jul 18 2:00 1:00 S
919+
Rule Morocco 2016 only - Jun 7 3:00 0 -
920+
Rule Morocco 2016 only - Jul 7 2:00 1:00 S
921+
Rule Morocco 2017 only - May 27 3:00 0 -
922+
Rule Morocco 2017 only - Jun 26 2:00 1:00 S
923+
Rule Morocco 2018 only - May 16 3:00 0 -
924+
Rule Morocco 2018 only - Jun 15 2:00 1:00 S
925+
Rule Morocco 2019 only - May 6 3:00 0 -
926+
Rule Morocco 2019 only - Jun 5 2:00 1:00 S
927+
Rule Morocco 2020 only - May 24 2:00 1:00 S
928+
Rule Morocco 2021 only - May 13 2:00 1:00 S
929+
Rule Morocco 2022 only - May 3 2:00 1:00 S
930+
Rule Morocco 2023 max - Apr lastSun 2:00 1:00 S
865931

866932
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
867933
Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26

src/timezone/data/antarctica

+2-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ Rule ChileAQ 2009 only - Mar Sun>=9 3:00u 0 -
5050
Rule ChileAQ 2010 only - Apr Sun>=1 3:00u 0 -
5151
Rule ChileAQ 2011 only - May Sun>=2 3:00u 0 -
5252
Rule ChileAQ 2011 only - Aug Sun>=16 4:00u 1:00 S
53-
Rule ChileAQ 2012 only - Apr Sun>=23 3:00u 0 -
54-
Rule ChileAQ 2012 only - Sep Sun>=2 4:00u 1:00 S
55-
Rule ChileAQ 2013 max - Mar Sun>=9 3:00u 0 -
56-
Rule ChileAQ 2013 max - Oct Sun>=9 4:00u 1:00 S
53+
Rule ChileAQ 2012 max - Apr Sun>=23 3:00u 0 -
54+
Rule ChileAQ 2012 max - Sep Sun>=2 4:00u 1:00 S
5755

5856
# These rules are stolen from the `australasia' file.
5957
Rule AusAQ 1917 only - Jan 1 0:01 1:00 -

src/timezone/data/asia

+41-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# go ahead and edit the file (and please send any changes to
77
# tz@iana.org for general use in the future).
88

9-
# From Paul Eggert (2006-03-22):
9+
# From Paul Eggert (2013-02-21):
1010
#
1111
# A good source for time zone historical data outside the U.S. is
1212
# Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -25,6 +25,10 @@
2525
# Whitman Publishing Co, 2 Niagara Av, Ealing, London (undated), which
2626
# I found in the UCLA library.
2727
#
28+
# For data circa 1899, a common source is:
29+
# Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94
30+
# <http://www.jstor.org/stable/1774359>.
31+
#
2832
# A reliable and entertaining source about time zones is
2933
# Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997).
3034
#
@@ -279,9 +283,12 @@ Zone Asia/Brunei 7:39:40 - LMT 1926 Mar # Bandar Seri Begawan
279283
8:00 - BNT
280284

281285
# Burma / Myanmar
286+
287+
# Milne says 6:24:40 was the meridian of the time ball observatory at Rangoon.
288+
282289
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
283290
Zone Asia/Rangoon 6:24:40 - LMT 1880 # or Yangon
284-
6:24:36 - RMT 1920 # Rangoon Mean Time?
291+
6:24:40 - RMT 1920 # Rangoon Mean Time?
285292
6:30 - BURT 1942 May # Burma Time
286293
9:00 - JST 1945 May 3
287294
6:30 - MMT # Myanmar Time
@@ -384,7 +391,8 @@ Zone Asia/Harbin 8:26:44 - LMT 1928 # or Haerbin
384391
8:00 PRC C%sT
385392
# Zhongyuan Time ("Central plain Time")
386393
# most of China
387-
Zone Asia/Shanghai 8:05:52 - LMT 1928
394+
# Milne gives 8:05:56.7; round to nearest.
395+
Zone Asia/Shanghai 8:05:57 - LMT 1928
388396
8:00 Shang C%sT 1949
389397
8:00 PRC C%sT
390398
# Long-shu Time (probably due to Long and Shu being two names of that area)
@@ -481,6 +489,10 @@ Zone Asia/Kashgar 5:03:56 - LMT 1928 # or Kashi or Kaxgar
481489
8:00 PRC C%sT
482490

483491

492+
# Hong Kong (Xianggang)
493+
494+
# Milne gives 7:36:41.7; round this.
495+
484496
# From Lee Yiu Chung (2009-10-24):
485497
# I found there are some mistakes for the...DST rule for Hong
486498
# Kong. [According] to the DST record from Hong Kong Observatory (actually,
@@ -547,7 +559,6 @@ Zone Asia/Kashgar 5:03:56 - LMT 1928 # or Kashi or Kaxgar
547559
# The Japanese surrender of Hong Kong was signed 1945-09-15.
548560
# For lack of anything better, use start of those days as the transition times.
549561

550-
# Hong Kong (Xianggang)
551562
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
552563
Rule HK 1941 only - Apr 1 3:30 1:00 S
553564
Rule HK 1941 only - Sep 30 3:30 0 -
@@ -569,7 +580,7 @@ Rule HK 1973 only - Dec 30 3:30 1:00 S
569580
Rule HK 1979 only - May Sun>=8 3:30 1:00 S
570581
Rule HK 1979 only - Oct Sun>=16 3:30 0 -
571582
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
572-
Zone Asia/Hong_Kong 7:36:36 - LMT 1904 Oct 30
583+
Zone Asia/Hong_Kong 7:36:42 - LMT 1904 Oct 30
573584
8:00 HK HK%sT 1941 Dec 25
574585
9:00 - JST 1945 Sep 15
575586
8:00 HK HK%sT
@@ -646,6 +657,9 @@ Zone Asia/Macau 7:34:20 - LMT 1912
646657
###############################################################################
647658

648659
# Cyprus
660+
#
661+
# Milne says the Eastern Telegraph Company used 2:14:00. Stick with LMT.
662+
#
649663
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
650664
Rule Cyprus 1975 only - Apr 13 0:00 1:00 S
651665
Rule Cyprus 1975 only - Oct 12 0:00 0 -
@@ -1804,8 +1818,11 @@ Zone Asia/Kathmandu 5:41:16 - LMT 1920
18041818
5:45 - NPT # Nepal Time
18051819

18061820
# Oman
1821+
1822+
# Milne says 3:54:24 was the meridian of the Muscat Tidal Observatory.
1823+
18071824
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
1808-
Zone Asia/Muscat 3:54:20 - LMT 1920
1825+
Zone Asia/Muscat 3:54:24 - LMT 1920
18091826
4:00 - GST
18101827

18111828
# Pakistan
@@ -2400,6 +2417,13 @@ Zone Asia/Singapore 6:55:25 - LMT 1901 Jan 1
24002417
# no information
24012418

24022419
# Sri Lanka
2420+
2421+
# From Paul Eggert (2013-02-21):
2422+
# Milne says "Madras mean time use from May 1, 1898. Prior to this Colombo
2423+
# mean time, 5h. 4m. 21.9s. F., was used." But 5:04:21.9 differs considerably
2424+
# from Colombo's meridian 5:19:24, so for now ignore Milne and stick with
2425+
# Shanks and Pottenger.
2426+
24032427
# From Paul Eggert (1996-09-03):
24042428
# "Sri Lanka advances clock by an hour to avoid blackout"
24052429
# (www.virtual-pc.com/lankaweb/news/items/240596-2.html, 1996-05-24,
@@ -2699,6 +2723,12 @@ Zone Asia/Tashkent 4:37:12 - LMT 1924 May 2
26992723

27002724
# Vietnam
27012725

2726+
# From Paul Eggert (2013-02-21):
2727+
# Milne gives 7:16:56 for the meridian of Saigon in 1899, as being
2728+
# used in Lower Laos, Cambodia, and Annam. But this is quite a ways
2729+
# from Saigon's location. For now, ignore this and stick with Shanks
2730+
# and Pottenger.
2731+
27022732
# From Arthur David Olson (2008-03-18):
27032733
# The English-language name of Vietnam's most populous city is "Ho Chi Min City";
27042734
# we use Ho_Chi_Minh below to avoid a name of more than 14 characters.
@@ -2712,6 +2742,10 @@ Zone Asia/Ho_Chi_Minh 7:06:40 - LMT 1906 Jun 9
27122742
7:00 - ICT
27132743

27142744
# Yemen
2745+
2746+
# Milne says 2:59:54 was the meridian of the saluting battery at Aden,
2747+
# and that Yemen was at 1:55:56, the meridian of the Hagia Sophia.
2748+
27152749
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
2716-
Zone Asia/Aden 3:00:48 - LMT 1950
2750+
Zone Asia/Aden 2:59:54 - LMT 1950
27172751
3:00 - AST

src/timezone/data/australasia

+9-2
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ Zone Indian/Cocos 6:27:40 - LMT 1900
246246
6:30 - CCT # Cocos Islands Time
247247

248248
# Fiji
249+
250+
# Milne gives 11:55:44 for Suva.
251+
249252
# From Alexander Krivenyshev (2009-11-10):
250253
# According to Fiji Broadcasting Corporation, Fiji plans to re-introduce DST
251254
# from November 29th 2009 to April 25th 2010.
@@ -339,7 +342,7 @@ Rule Fiji 2010 max - Oct Sun>=18 2:00 1:00 S
339342
Rule Fiji 2011 only - Mar Sun>=1 3:00 0 -
340343
Rule Fiji 2012 max - Jan Sun>=18 3:00 0 -
341344
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
342-
Zone Pacific/Fiji 11:53:40 - LMT 1915 Oct 26 # Suva
345+
Zone Pacific/Fiji 11:55:44 - LMT 1915 Oct 26 # Suva
343346
12:00 Fiji FJ%sT # Fiji Time
344347

345348
# French Polynesia
@@ -782,7 +785,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
782785
# go ahead and edit the file (and please send any changes to
783786
# tz@iana.org for general use in the future).
784787

785-
# From Paul Eggert (2006-03-22):
788+
# From Paul Eggert (2013-02-21):
786789
# A good source for time zone historical data outside the U.S. is
787790
# Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
788791
# San Diego: ACS Publications, Inc. (2003).
@@ -800,6 +803,10 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
800803
# Whitman Publishing Co, 2 Niagara Av, Ealing, London (undated), which
801804
# I found in the UCLA library.
802805
#
806+
# For data circa 1899, a common source is:
807+
# Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94
808+
# <http://www.jstor.org/stable/1774359>.
809+
#
803810
# A reliable and entertaining source about time zones is
804811
# Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997).
805812
#

0 commit comments

Comments
 (0)