Skip to content

Commit c51da69

Browse files
committed
Update time zone data files to tzdata release 2014e.
DST law changes in Crimea, Egypt, Morocco. New zone Antarctica/Troll for Norwegian base in Queen Maud Land.
1 parent e0a2337 commit c51da69

File tree

7 files changed

+238
-138
lines changed

7 files changed

+238
-138
lines changed

src/timezone/data/africa

Lines changed: 149 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,13 @@ Rule Egypt 1990 1994 - May 1 1:00 1:00 S
239239
# http://www.worldtimezone.com/dst_news/dst_news_egypt04.html
240240
# </a>
241241
Rule Egypt 1995 2010 - Apr lastFri 0:00s 1:00 S
242-
Rule Egypt 1995 2005 - Sep lastThu 23:00s 0 -
242+
Rule Egypt 1995 2005 - Sep lastThu 24:00 0 -
243243
# From Steffen Thorsen (2006-09-19):
244244
# The Egyptian Gazette, issue 41,090 (2006-09-18), page 1, reports:
245245
# Egypt will turn back clocks by one hour at the midnight of Thursday
246246
# after observing the daylight saving time since May.
247247
# http://news.gom.com.eg/gazette/pdf/2006/09/18/01.pdf
248-
Rule Egypt 2006 only - Sep 21 23:00s 0 -
248+
Rule Egypt 2006 only - Sep 21 24:00 0 -
249249
# From Dirk Losch (2007-08-14):
250250
# I received a mail from an airline which says that the daylight
251251
# saving time in Egypt will end in the night of 2007-09-06 to 2007-09-07.
@@ -254,7 +254,7 @@ Rule Egypt 2006 only - Sep 21 23:00s 0 -
254254
# http://www.timeanddate.com/worldclock/city.html?n=53
255255
# From Steffen Thorsen (2007-09-04): The official information...:
256256
# http://www.sis.gov.eg/En/EgyptOnline/Miscellaneous/000002/0207000000000000001580.htm
257-
Rule Egypt 2007 only - Sep Thu>=1 23:00s 0 -
257+
Rule Egypt 2007 only - Sep Thu>=1 24:00 0 -
258258
# From Abdelrahman Hassan (2007-09-06):
259259
# Due to the Hijri (lunar Islamic calendar) year being 11 days shorter
260260
# than the year of the Gregorian calendar, Ramadan shifts earlier each
@@ -335,11 +335,85 @@ Rule Egypt 2007 only - Sep Thu>=1 23:00s 0 -
335335
# http://www.worldtimezone.com/dst_news/dst_news_egypt02.html
336336
# </a>
337337

338-
Rule Egypt 2008 only - Aug lastThu 23:00s 0 -
339-
Rule Egypt 2009 only - Aug 20 23:00s 0 -
340-
Rule Egypt 2010 only - Aug 11 0:00 0 -
341-
Rule Egypt 2010 only - Sep 10 0:00 1:00 S
342-
Rule Egypt 2010 only - Sep lastThu 23:00s 0 -
338+
# From Ahmad El-Dardiry (2014-05-07):
339+
# Egypt is to change back to Daylight system on May 15
340+
# http://english.ahram.org.eg/NewsContent/1/64/100735/Egypt/Politics-/Egypts-government-to-reapply-daylight-saving-time-.aspx
341+
342+
# From Gunther Vermier (2015-05-13):
343+
# our Egypt office confirms that the change will be at 15 May "midnight" (24:00)
344+
345+
# From Imed Chihi (2014-06-04):
346+
# We have finally "located" a precise official reference about the DST changes
347+
# in Egypt. The Ministers Cabinet decision is explained at
348+
# http://www.cabinet.gov.eg/Media/CabinetMeetingsDetails.aspx?id=347 ...
349+
# [T]his (Arabic) site is not accessible outside Egypt, but the page ...
350+
# translates into: "With regard to daylight saving time, it is scheduled to
351+
# take effect at exactly twelve o'clock this evening, Thursday, 15 MAY 2014,
352+
# to be suspended by twelve o'clock on the evening of Thursday, 26 JUN 2014,
353+
# and re-established again at the end of the month of Ramadan, at twelve
354+
# o'clock on the evening of Thursday, 31 JUL 2014." This statement has been
355+
# reproduced by other (more accessible) sites[, e.g.,]...
356+
# http://elgornal.net/news/news.aspx?id=4699258
357+
358+
# From Paul Eggert (2014-06-04):
359+
# Sarah El Deeb and Lee Keath of AP report that the Egyptian government says
360+
# the change is because of blackouts in Cairo, even though Ahram Online (cited
361+
# above) says DST had no affect on electricity consumption. There is
362+
# no information about when DST will end this fall. See:
363+
# http://abcnews.go.com/International/wireStory/el-sissi-pushes-egyptians-line-23614833
364+
#
365+
# For now, guess that later spring and fall transitions will use
366+
# 2010's rules, and guess that Egypt will switch to standard time at
367+
# 24:00 the last Thursday before Ramadan, and back to DST at 00:00 the
368+
# first Friday after Ramadan. To implement this,
369+
# transition dates for 2015 through 2037 were determined by running
370+
# the following program under GNU Emacs 24.3, with the results integrated
371+
# by hand into the table below. Ramadan again intrudes on the guessed
372+
# DST starting in 2038, but that's beyond our somewhat-arbitrary cutoff.
373+
# (let ((islamic-year 1436))
374+
# (while (< islamic-year 1460)
375+
# (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
376+
# (b (calendar-islamic-to-absolute (list 10 1 islamic-year)))
377+
# (friday 5))
378+
# (while (/= friday (mod a 7))
379+
# (setq a (1- a)))
380+
# (while (/= friday (mod b 7))
381+
# (setq b (1+ b)))
382+
# (setq a (1- a))
383+
# (setq b (1- b))
384+
# (setq a (calendar-gregorian-from-absolute a))
385+
# (setq b (calendar-gregorian-from-absolute b))
386+
# (insert
387+
# (format
388+
# (concat "Rule\tEgypt\t%d\tonly\t-\t%s\t%2d\t24:00\t0\t-\n"
389+
# "Rule\tEgypt\t%d\tonly\t-\t%s\t%2d\t24:00\t1:00\tS\n")
390+
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
391+
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
392+
# (setq islamic-year (+ 1 islamic-year))))
393+
Rule Egypt 2008 only - Aug lastThu 24:00 0 -
394+
Rule Egypt 2009 only - Aug 20 24:00 0 -
395+
Rule Egypt 2010 only - Aug 10 24:00 0 -
396+
Rule Egypt 2010 only - Sep 9 24:00 1:00 S
397+
Rule Egypt 2010 only - Sep lastThu 24:00 0 -
398+
Rule Egypt 2014 only - May 15 24:00 1:00 S
399+
Rule Egypt 2014 only - Jun 26 24:00 0 -
400+
Rule Egypt 2014 only - Jul 31 24:00 1:00 S
401+
Rule Egypt 2014 max - Sep lastThu 24:00 0 -
402+
Rule Egypt 2015 2019 - Apr lastFri 0:00s 1:00 S
403+
Rule Egypt 2015 only - Jun 11 24:00 0 -
404+
Rule Egypt 2015 only - Jul 23 24:00 1:00 S
405+
Rule Egypt 2016 only - Jun 2 24:00 0 -
406+
Rule Egypt 2016 only - Jul 7 24:00 1:00 S
407+
Rule Egypt 2017 only - May 25 24:00 0 -
408+
Rule Egypt 2017 only - Jun 29 24:00 1:00 S
409+
Rule Egypt 2018 only - May 10 24:00 0 -
410+
Rule Egypt 2018 only - Jun 14 24:00 1:00 S
411+
Rule Egypt 2019 only - May 2 24:00 0 -
412+
Rule Egypt 2019 only - Jun 6 24:00 1:00 S
413+
Rule Egypt 2020 only - May 28 24:00 1:00 S
414+
Rule Egypt 2021 only - May 13 24:00 1:00 S
415+
Rule Egypt 2022 only - May 5 24:00 1:00 S
416+
Rule Egypt 2023 max - Apr lastFri 0:00s 1:00 S
343417

344418
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
345419
Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
@@ -868,39 +942,39 @@ Zone Indian/Mayotte 3:00:56 - LMT 1911 Jul # Mamoutzou
868942
# Another source (specifying the time for start and end in the decree):
869943
# http://www.lemag.ma/Heure-d-ete-au-Maroc-jusqu-au-27-octobre_a75620.html
870944

871-
# From Paul Eggert (2013-10-03):
872-
# To estimate what the Moroccan government will do in future years,
873-
# transition dates for 2014 through 2038 were determined by running
874-
# the following program under GNU Emacs 24.3:
875-
#
876-
# (let ((islamic-year 1435))
877-
# (while (< islamic-year 1461)
878-
# (let ((a
879-
# (calendar-gregorian-from-absolute
880-
# (calendar-islamic-to-absolute (list 9 1 islamic-year))))
881-
# (b
882-
# (calendar-gregorian-from-absolute
883-
# (calendar-islamic-to-absolute (list 10 1 islamic-year)))))
884-
# (insert
885-
# (format
886-
# (concat "Rule\tMorocco\t%d\tonly\t-\t%s\t %2d\t 3:00\t0\t-\n"
887-
# "Rule\tMorocco\t%d\tonly\t-\t%s\t %2d\t 2:00\t1:00\tS\n")
888-
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
889-
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
945+
# From Sebastien Willemijns (2014-03-18):
946+
# http://www.afriquinfos.com/articles/2014/3/18/maroc-heure-dete-avancez-tous-horloges-247891.asp
947+
948+
# From Milamber Space Network (2014-06-05):
949+
# The Moroccan government has recently announced that the country will return
950+
# to standard time at 03:00 on Saturday, June 28, 2014 local time.... DST
951+
# will resume again at 02:00 on Saturday, August 2, 2014....
952+
# http://www.mmsp.gov.ma/fr/actualites.aspx?id=586
953+
954+
# From Paul Eggert (2014-06-05):
955+
# For now, guess that later spring and fall transitions will use 2014's rules,
956+
# and guess that Morocco will switch to standard time at 03:00 the last
957+
# Saturday before Ramadan, and back to DST at 02:00 the first Saturday after
958+
# Ramadan. To implement this, transition dates for 2015 through 2037 were
959+
# determined by running the following program under GNU Emacs 24.3, with the
960+
# results integrated by hand into the table below.
961+
# (let ((islamic-year 1436))
962+
# (while (< islamic-year 1460)
963+
# (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
964+
# (b (calendar-islamic-to-absolute (list 10 1 islamic-year)))
965+
# (saturday 6))
966+
# (while (/= saturday (mod (setq a (1- a)) 7)))
967+
# (while (/= saturday (mod b 7))
968+
# (setq b (1+ b)))
969+
# (setq a (calendar-gregorian-from-absolute a))
970+
# (setq b (calendar-gregorian-from-absolute b))
971+
# (insert
972+
# (format
973+
# (concat "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 3:00\t0\t-\n"
974+
# "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 2:00\t1:00\tS\n")
975+
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
976+
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
890977
# (setq islamic-year (+ 1 islamic-year))))
891-
#
892-
# with spring-forward transitions removed for 2023-2025, when the
893-
# normal spring-forward date falls during the estimated Ramadan; with
894-
# all transitions removed for 2026-2035, where the estimated Ramadan
895-
# falls entirely outside daylight-saving time; and with fall-back
896-
# transitions removed for 2036-2037, where the normal fall-back
897-
# date falls during the estimated Ramadan. Normally, the table would
898-
# stop after 2037 because 32-bit time_t values roll around early in 2038,
899-
# but that would imply a prediction of perpetual DST after March 2038
900-
# due to the year-2037 glitches. So, this table instead stops after
901-
# 2038, the first non-glitchy year after the 32-bit rollover.
902-
# An advantage of stopping after 2038 is that it lets zic guess
903-
# TZ='WET0WEST,M3.5.0,M10.5.0/3' for time stamps far in the future.
904978

905979
# RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S
906980

@@ -922,46 +996,44 @@ Rule Morocco 1978 only - Aug 4 0:00 0 -
922996
Rule Morocco 2008 only - Jun 1 0:00 1:00 S
923997
Rule Morocco 2008 only - Sep 1 0:00 0 -
924998
Rule Morocco 2009 only - Jun 1 0:00 1:00 S
925-
Rule Morocco 2009 only - Aug 21 0:00 0 -
999+
Rule Morocco 2009 only - Aug 21 0:00 0 -
9261000
Rule Morocco 2010 only - May 2 0:00 1:00 S
9271001
Rule Morocco 2010 only - Aug 8 0:00 0 -
9281002
Rule Morocco 2011 only - Apr 3 0:00 1:00 S
929-
Rule Morocco 2011 only - Jul 31 0 0 -
930-
Rule Morocco 2012 2013 - Apr lastSun 2:00 1:00 S
931-
Rule Morocco 2012 only - Sep 30 3:00 0 -
932-
Rule Morocco 2012 only - Jul 20 3:00 0 -
933-
Rule Morocco 2012 only - Aug 20 2:00 1:00 S
934-
Rule Morocco 2013 only - Jul 7 3:00 0 -
935-
Rule Morocco 2013 only - Aug 10 2:00 1:00 S
936-
Rule Morocco 2013 2035 - Oct lastSun 3:00 0 -
937-
Rule Morocco 2014 2022 - Mar lastSun 2:00 1:00 S
938-
Rule Morocco 2014 only - Jun 29 3:00 0 -
939-
Rule Morocco 2014 only - Jul 29 2:00 1:00 S
940-
Rule Morocco 2015 only - Jun 18 3:00 0 -
941-
Rule Morocco 2015 only - Jul 18 2:00 1:00 S
942-
Rule Morocco 2016 only - Jun 7 3:00 0 -
943-
Rule Morocco 2016 only - Jul 7 2:00 1:00 S
944-
Rule Morocco 2017 only - May 27 3:00 0 -
945-
Rule Morocco 2017 only - Jun 26 2:00 1:00 S
946-
Rule Morocco 2018 only - May 16 3:00 0 -
947-
Rule Morocco 2018 only - Jun 15 2:00 1:00 S
948-
Rule Morocco 2019 only - May 6 3:00 0 -
949-
Rule Morocco 2019 only - Jun 5 2:00 1:00 S
950-
Rule Morocco 2020 only - Apr 24 3:00 0 -
951-
Rule Morocco 2020 only - May 24 2:00 1:00 S
952-
Rule Morocco 2021 only - Apr 13 3:00 0 -
953-
Rule Morocco 2021 only - May 13 2:00 1:00 S
954-
Rule Morocco 2022 only - Apr 3 3:00 0 -
955-
Rule Morocco 2022 only - May 3 2:00 1:00 S
956-
Rule Morocco 2023 only - Apr 22 2:00 1:00 S
957-
Rule Morocco 2024 only - Apr 10 2:00 1:00 S
958-
Rule Morocco 2025 only - Mar 31 2:00 1:00 S
959-
Rule Morocco 2026 max - Mar lastSun 2:00 1:00 S
960-
Rule Morocco 2036 only - Oct 21 3:00 0 -
961-
Rule Morocco 2037 only - Oct 11 3:00 0 -
962-
Rule Morocco 2038 only - Sep 30 3:00 0 -
963-
Rule Morocco 2038 only - Oct 30 2:00 1:00 S
964-
Rule Morocco 2038 max - Oct lastSun 3:00 0 -
1003+
Rule Morocco 2011 only - Jul 31 0 0 -
1004+
Rule Morocco 2012 2013 - Apr lastSun 2:00 1:00 S
1005+
Rule Morocco 2012 only - Sep 30 3:00 0 -
1006+
Rule Morocco 2012 only - Jul 20 3:00 0 -
1007+
Rule Morocco 2012 only - Aug 20 2:00 1:00 S
1008+
Rule Morocco 2013 only - Jul 7 3:00 0 -
1009+
Rule Morocco 2013 only - Aug 10 2:00 1:00 S
1010+
Rule Morocco 2013 max - Oct lastSun 3:00 0 -
1011+
Rule Morocco 2014 2022 - Mar lastSun 2:00 1:00 S
1012+
Rule Morocco 2014 only - Jun 28 3:00 0 -
1013+
Rule Morocco 2014 only - Aug 2 2:00 1:00 S
1014+
Rule Morocco 2015 only - Jun 13 3:00 0 -
1015+
Rule Morocco 2015 only - Jul 18 2:00 1:00 S
1016+
Rule Morocco 2016 only - Jun 4 3:00 0 -
1017+
Rule Morocco 2016 only - Jul 9 2:00 1:00 S
1018+
Rule Morocco 2017 only - May 20 3:00 0 -
1019+
Rule Morocco 2017 only - Jul 1 2:00 1:00 S
1020+
Rule Morocco 2018 only - May 12 3:00 0 -
1021+
Rule Morocco 2018 only - Jun 16 2:00 1:00 S
1022+
Rule Morocco 2019 only - May 4 3:00 0 -
1023+
Rule Morocco 2019 only - Jun 8 2:00 1:00 S
1024+
Rule Morocco 2020 only - Apr 18 3:00 0 -
1025+
Rule Morocco 2020 only - May 30 2:00 1:00 S
1026+
Rule Morocco 2021 only - Apr 10 3:00 0 -
1027+
Rule Morocco 2021 only - May 15 2:00 1:00 S
1028+
Rule Morocco 2022 only - Apr 2 3:00 0 -
1029+
Rule Morocco 2022 only - May 7 2:00 1:00 S
1030+
Rule Morocco 2023 only - Apr 22 2:00 1:00 S
1031+
Rule Morocco 2024 only - Apr 13 2:00 1:00 S
1032+
Rule Morocco 2025 only - Apr 5 2:00 1:00 S
1033+
Rule Morocco 2026 max - Mar lastSun 2:00 1:00 S
1034+
Rule Morocco 2035 only - Oct 27 3:00 0 -
1035+
Rule Morocco 2036 only - Oct 18 3:00 0 -
1036+
Rule Morocco 2037 only - Oct 10 3:00 0 -
9651037

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

src/timezone/data/antarctica

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -230,24 +230,41 @@ Zone Antarctica/Syowa 0 - zzz 1957 Jan 29
230230
# year-round base
231231
# Scott Base, Ross Island, since 1957-01.
232232
# See Pacific/Auckland.
233-
#
234-
# These rules for New Zealand are stolen from the 'australasia' file.
235-
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
236-
Rule NZAQ 1974 only - Nov 3 2:00s 1:00 D
237-
Rule NZAQ 1975 1988 - Oct lastSun 2:00s 1:00 D
238-
Rule NZAQ 1989 only - Oct 8 2:00s 1:00 D
239-
Rule NZAQ 1990 2006 - Oct Sun>=1 2:00s 1:00 D
240-
Rule NZAQ 1975 only - Feb 23 2:00s 0 S
241-
Rule NZAQ 1976 1989 - Mar Sun>=1 2:00s 0 S
242-
Rule NZAQ 1990 2007 - Mar Sun>=15 2:00s 0 S
243-
Rule NZAQ 2007 max - Sep lastSun 2:00s 1:00 D
244-
Rule NZAQ 2008 max - Apr Sun>=1 2:00s 0 S
245233

246234
# Norway - territories
247235
# Bouvet (never inhabited)
248236
#
249237
# claims
250238
# Peter I Island (never inhabited)
239+
#
240+
# year-round base
241+
# Troll, Queen Maud Land, -720041+0023206, since 2005-02-12
242+
#
243+
# From Paul-Inge Flakstad (2014-03-10):
244+
# I recently had a long dialog about this with the developer of timegenie.com.
245+
# In the absence of specific dates, he decided to choose some likely ones:
246+
# GMT +1 - From March 1 to the last Sunday in March
247+
# GMT +2 - From the last Sunday in March until the last Sunday in October
248+
# GMT +1 - From the last Sunday in October until November 7
249+
# GMT +0 - From November 7 until March 1
250+
# The dates for switching to and from UTC+0 will probably not be absolutely
251+
# correct, but they should be quite close to the actual dates.
252+
#
253+
# From Paul Eggert (2014-03-21):
254+
# The CET-switching Troll rules require zic from tzcode 2014b or later, so as
255+
# suggested by Bengt-Inge Larsson comment them out for now, and approximate
256+
# with only UTC and CEST. Uncomment them when 2014b is more prevalent.
257+
#
258+
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
259+
#Rule Troll 2005 max - Mar 1 1:00u 1:00 CET
260+
Rule Troll 2005 max - Mar lastSun 1:00u 2:00 CEST
261+
#Rule Troll 2005 max - Oct lastSun 1:00u 1:00 CET
262+
#Rule Troll 2004 max - Nov 7 1:00u 0:00 UTC
263+
# Remove the following line when uncommenting the above '#Rule' lines.
264+
Rule Troll 2004 max - Oct lastSun 1:00u 0:00 UTC
265+
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
266+
Zone Antarctica/Troll 0 - zzz 2005 Feb 12
267+
0:00 Troll %s
251268

252269
# Poland - year-round base
253270
# Arctowski, King George Island, -620945-0582745, since 1977

src/timezone/data/asia

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,22 +1347,6 @@ Zone Asia/Tokyo 9:18:59 - LMT 1887 Dec 31 15:00u
13471347
# "Jordan will switch to winter time on Friday, October 27".
13481348
#
13491349

1350-
# From Phil Pizzey (2009-04-02):
1351-
# ...I think I may have spotted an error in the timezone data for
1352-
# Jordan.
1353-
# The current (2009d) asia file shows Jordan going to daylight
1354-
# saving
1355-
# time on the last Thursday in March.
1356-
#
1357-
# Rule Jordan 2000 max - Mar lastThu 0:00s 1:00 S
1358-
#
1359-
# However timeanddate.com, which I usually find reliable, shows Jordan
1360-
# going to daylight saving time on the last Friday in March since 2002.
1361-
# Please see
1362-
# <a href="http://www.timeanddate.com/worldclock/timezone.html?n=11">
1363-
# http://www.timeanddate.com/worldclock/timezone.html?n=11
1364-
# </a>
1365-
13661350
# From Steffen Thorsen (2009-04-02):
13671351
# This single one might be good enough, (2009-03-24, Arabic):
13681352
# <a href="http://petra.gov.jo/Artical.aspx?Lng=2&Section=8&Artical=95279">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy