Skip to content

Commit

Permalink
Update to tzdata version 2015d.
Browse files Browse the repository at this point in the history
  • Loading branch information
philr committed Apr 24, 2015
1 parent 2dfc750 commit 58d9fad
Show file tree
Hide file tree
Showing 8 changed files with 162 additions and 175 deletions.
26 changes: 26 additions & 0 deletions data/NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
News for the tz database

Release 2015d - 2015-04-24 08:09:46 -0700

Changes affecting future time stamps

Egypt will not observe DST in 2015 and will consider canceling it
permanently. For now, assume no DST indefinitely.
(Thanks to Ahmed Nazmy and Tim Parenti.)

Changes affecting past time stamps

America/Whitehorse switched from UTC-9 to UTC-8 on 1967-05-28, not
1966-07-01. Also, Yukon's time zone history is documented better.
(Thanks to Brian Inglis and Dennis Ferguson.)

Change affecting past and future time zone abbreviations

The abbreviations for Hawaii-Aleutian standard and daylight times
have been changed from HAST/HADT to HST/HDT, as per US Government
Printing Office style. This affects only America/Adak since 1983,
as America/Honolulu was already using the new style.

Changes affecting code

zic has some minor performance improvements.


Release 2015c - 2015-04-11 08:55:55 -0700

Changes affecting future time stamps
Expand Down
2 changes: 1 addition & 1 deletion data/SOURCE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
The files in this directory were obtained from the IANA Time Zone Database
http://www.iana.org/time-zones, version 2015c.
http://www.iana.org/time-zones, version 2015d.
60 changes: 15 additions & 45 deletions data/africa
Original file line number Diff line number Diff line change
Expand Up @@ -328,35 +328,20 @@ Rule Egypt 2007 only - Sep Thu>=1 24:00 0 -
# http://almogaz.com/news/weird-news/2015/04/05/1947105 ...
# http://www.timeanddate.com/news/time/egypt-starts-dst-2015.html

# From Paul Eggert (2015-04-08):
# For now, guess that later spring and fall transitions will use
# 2014's rules, and guess that Egypt will switch to standard time at
# 24:00 the last Thursday before Ramadan, and back to DST at 00:00 the
# first Friday after Ramadan. To implement this,
# transition dates for 2015 through 2037 were determined by running
# the following program under GNU Emacs 24.4, with the results integrated
# by hand into the table below. Ramadan again intrudes on the guessed
# DST starting in 2038, but that's beyond our somewhat-arbitrary cutoff.
# (let ((islamic-year 1436))
# (while (< islamic-year 1460)
# (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
# (b (calendar-islamic-to-absolute (list 10 1 islamic-year)))
# (friday 5))
# (while (/= friday (mod a 7))
# (setq a (1- a)))
# (while (/= friday (mod b 7))
# (setq b (1+ b)))
# (setq a (1- a))
# (setq b (1- b))
# (setq a (calendar-gregorian-from-absolute a))
# (setq b (calendar-gregorian-from-absolute b))
# (insert
# (format
# (concat "Rule\tEgypt\t%d\tonly\t-\t%s\t%2d\t24:00\t0\t-\n"
# "Rule\tEgypt\t%d\tonly\t-\t%s\t%2d\t24:00\t1:00\tS\n")
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
# (setq islamic-year (+ 1 islamic-year))))
# From Ahmed Nazmy (2015-04-20):
# Egypt's ministers cabinet just announced ... that it will cancel DST at
# least for 2015.
#
# From Tim Parenti (2015-04-20):
# http://english.ahram.org.eg/WriterArticles/NewsContentP/1/128195/Egypt/No-daylight-saving-this-summer-Egypts-prime-minist.aspx
# "Egypt's cabinet agreed on Monday not to switch clocks for daylight saving
# time this summer, and carry out studies on the possibility of canceling the
# practice altogether in future years."
#
# From Paul Eggert (2015-04-20):
# For now, assume DST will be canceled. Any resumption would likely
# use different rules anyway.

Rule Egypt 2008 only - Aug lastThu 24:00 0 -
Rule Egypt 2009 only - Aug 20 24:00 0 -
Rule Egypt 2010 only - Aug 10 24:00 0 -
Expand All @@ -365,22 +350,7 @@ Rule Egypt 2010 only - Sep lastThu 24:00 0 -
Rule Egypt 2014 only - May 15 24:00 1:00 S
Rule Egypt 2014 only - Jun 26 24:00 0 -
Rule Egypt 2014 only - Jul 31 24:00 1:00 S
Rule Egypt 2014 max - Sep lastThu 24:00 0 -
Rule Egypt 2015 2019 - Apr lastThu 24:00 1:00 S
Rule Egypt 2015 only - Jun 11 24:00 0 -
Rule Egypt 2015 only - Jul 23 24:00 1:00 S
Rule Egypt 2016 only - Jun 2 24:00 0 -
Rule Egypt 2016 only - Jul 7 24:00 1:00 S
Rule Egypt 2017 only - May 25 24:00 0 -
Rule Egypt 2017 only - Jun 29 24:00 1:00 S
Rule Egypt 2018 only - May 10 24:00 0 -
Rule Egypt 2018 only - Jun 14 24:00 1:00 S
Rule Egypt 2019 only - May 2 24:00 0 -
Rule Egypt 2019 only - Jun 6 24:00 1:00 S
Rule Egypt 2020 only - May 28 24:00 1:00 S
Rule Egypt 2021 only - May 13 24:00 1:00 S
Rule Egypt 2022 only - May 5 24:00 1:00 S
Rule Egypt 2023 max - Apr lastThu 24:00 1:00 S
Rule Egypt 2014 only - Sep lastThu 24:00 0 -

# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
Expand Down
127 changes: 115 additions & 12 deletions data/northamerica
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,14 @@ Zone PST8PDT -8:00 US P%sT
# The law doesn't give abbreviations.
#
# From Paul Eggert (2000-01-08), following a heads-up from Rives McDow:
# Public law 106-564 (2000-12-23) introduced the abbreviation
# "Chamorro Standard Time" for time in Guam and the Northern Marianas.
# See the file "australasia".
# Public law 106-564 (2000-12-23) introduced ... "Chamorro Standard Time"
# for time in Guam and the Northern Marianas. See the file "australasia".
#
# From Paul Eggert (2015-04-17):
# HST and HDT are standardized abbreviations for Hawaii-Aleutian
# standard and daylight times. See section 9.47 (p 234) of the
# U.S. Government Printing Office Style Manual (2008)
# http://www.gpo.gov/fdsys/pkg/GPO-STYLEMANUAL-2008/pdf/GPO-STYLEMANUAL-2008.pdf

# From Arthur David Olson, 2005-08-09
# The following was signed into law on 2005-08-08.
Expand Down Expand Up @@ -536,7 +541,7 @@ Zone America/Adak 12:13:21 - LMT 1867 Oct 18
-11:00 - BST 1969
-11:00 US B%sT 1983 Oct 30 2:00
-10:00 US AH%sT 1983 Nov 30
-10:00 US HA%sT
-10:00 US H%sT
# The following switches don't quite make our 1970 cutoff.
#
# Shanks writes that part of southwest Alaska (e.g. Aniak)
Expand Down Expand Up @@ -1841,17 +1846,115 @@ Zone America/Creston -7:46:04 - LMT 1884
# Dawson switched to PST in 1973. Inuvik switched to MST in 1979.
# Mathew Englander (1996-10-07) gives the following refs:
# * 1967. Paragraph 28(34)(g) of the Interpretation Act, S.C. 1967-68,
# c. 7 defines Yukon standard time as UTC-9. This is still valid;
# c. 7 defines Yukon standard time as UTC-9....
# see Interpretation Act, R.S.C. 1985, c. I-21, s. 35(1).
# [http://canlii.ca/t/7vhg]
# * C.O. 1973/214 switched Yukon to PST on 1973-10-28 00:00.
# * O.I.C. 1980/02 established DST.
# * O.I.C. 1987/056 changed DST to Apr firstSun 2:00 to Oct lastSun 2:00.
# Shanks & Pottenger say Yukon's 1973-10-28 switch was at 2:00; go
# with Englander.
# From Chris Walton (2006-06-26):
# Here is a link to the old daylight saving portion of the interpretation
# act which was last updated in 1987:
# http://www.gov.yk.ca/legislation/regs/oic1987_056.pdf

# From Brian Inglis (2015-04-14):
#
# I tried to trace the history of Yukon time and found the following
# regulations, giving the reference title and URL if found, regulation name,
# and relevant quote if available. Each regulation specifically revokes its
# predecessor. The final reference is to the current Interpretation Act
# authorizing and resulting from these regulatory changes.
#
# Only recent regulations were retrievable via Yukon government site search or
# index, and only some via Canadian legal sources. Other sources used include
# articles titled "Standard Time and Time Zones in Canada" from JRASC via ADS
# Abstracts, cited by ADO for 1932 ..., and updated versions from 1958 and
# 1970 quoted below; each article includes current extracts from provincial
# and territorial ST and DST regulations at the end, summaries and details of
# standard times and daylight saving time at many locations across Canada,
# with time zone maps, tables and calculations for Canadian Sunrise, Sunset,
# and LMST; they also cover many countries and global locations, with a chart
# and table showing current Universal Time offsets, and may be useful as
# another source of information for 1970 and earlier.
#
# * Standard Time and Time Zones in Canada; Smith, C.C.; JRASC, Vol. 26,
# pp.49-77; February 1932; SAO/NASA Astrophysics Data System (ADS)
# http://adsabs.harvard.edu/abs/1932JRASC..26...49S from p.75:
# Yukon Interpretation Ordinance
# Yukon standard time is the local mean time at the one hundred and
# thirty-fifth meridian.
#
# * Standard Time and Time Zones in Canada; Smith, C.C.; Thomson, Malcolm M.;
# JRASC, Vol. 52, pp.193-223; October 1958; SAO/NASA Astrophysics Data System
# (ADS) http://adsabs.harvard.edu/abs/1958JRASC..52..193S from pp.220-1:
# Yukon Interpretation Ordinance, 1955, Chap. 16.
#
# (1) Subject to this section, standard time shall be reckoned as nine
# hours behind Greenwich Time and called Yukon Standard Time.
#
# (2) Notwithstanding subsection (1), the Commissioner may make regulations
# varying the manner of reckoning standard time.
#
# * Yukon Territory Commissioner's Order 1966-20 Interpretation Ordinance
# http://? - no online source found
#
# * Standard Time and Time Zones in Canada; Thomson, Malcolm M.; JRASC,
# Vol. 64, pp.129-162; June 1970; SAO/NASA Astrophysics Data System (ADS)
# http://adsabs.harvard.edu/abs/1970JRASC..64..129T from p.156: Yukon
# Territory Commissioner's Order 1967-59 Interpretation Ordinance ...
#
# 1. Commissioner's Order 1966-20 dated at Whitehorse in the Yukon
# Territory on 27th January, 1966, is hereby revoked.
#
# 2. Yukon (East) Standard Time as defined by section 36 of the
# Interpretation Ordinance from and after mid-night on the 28th day of May,
# 1967 shall be reckoned in the same manner as Pacific Standard Time, that
# is to say, eight hours behind Greenwich Time in the area of the Yukon
# Territory lying east of the 138th degree longitude west.
#
# 3. In the remainder of the Territory, lying west of the 138th degree
# longitude west, Yukon (West) Standard Time shall be reckoned as nine
# hours behind Greenwich Time.
#
# * Yukon Standard Time defined as Pacific Standard Time, YCO 1973/214
# http://www.canlii.org/en/yk/laws/regu/yco-1973-214/latest/yco-1973-214.html
# C.O. 1973/214 INTERPRETATION ACT ...
#
# 1. Effective October 28, 1973 Commissioner's Order 1967/59 is hereby
# revoked.
#
# 2. Yukon Standard Time as defined by section 36 of the Interpretation
# Act from and after midnight on the twenty-eighth day of October, 1973
# shall be reckoned in the same manner as Pacific Standard Time, that is
# to say eight hours behind Greenwich Time.
#
# * O.I.C. 1980/02 INTERPRETATION ACT
# http://? - no online source found
#
# * Yukon Daylight Saving Time, YOIC 1987/56
# http://www.canlii.org/en/yk/laws/regu/yoic-1987-56/latest/yoic-1987-56.html
# O.I.C. 1987/056 INTERPRETATION ACT ...
#
# In every year between
# (a) two o'clock in the morning in the first Sunday in April, and
# (b) two o'clock in the morning in the last Sunday in October,
# Standard Time shall be reckoned as seven hours behind Greenwich Time and
# called Yukon Daylight Saving Time.
# ...
# Dated ... 9th day of March, A.D., 1987.
#
# * Yukon Daylight Saving Time 2006, YOIC 2006/127
# http://www.canlii.org/en/yk/laws/regu/yoic-2006-127/latest/yoic-2006-127.html
# O.I.C. 2006/127 INTERPRETATION ACT ...
#
# 1. In Yukon each year the time for general purposes shall be 7 hours
# behind Greenwich mean time during the period commencing at two o'clock
# in the forenoon on the second Sunday of March and ending at two o'clock
# in the forenoon on the first Sunday of November and shall be called
# Yukon Daylight Saving Time.
#
# 2. Order-in-Council 1987/56 is revoked.
#
# 3. This order comes into force January 1, 2007.
#
# * Interpretation Act, RSY 2002, c 125
# http://www.canlii.org/en/yk/laws/stat/rsy-2002-c-125/latest/rsy-2002-c-125.html

# From Rives McDow (1999-09-04):
# Nunavut ... moved ... to incorporate the whole territory into one time zone.
Expand Down Expand Up @@ -2077,7 +2180,7 @@ Zone America/Inuvik 0 - zzz 1953 # Inuvik founded
-7:00 NT_YK M%sT 1980
-7:00 Canada M%sT
Zone America/Whitehorse -9:00:12 - LMT 1900 Aug 20
-9:00 NT_YK Y%sT 1966 Jul 1 2:00
-9:00 NT_YK Y%sT 1967 May 28 0:00
-8:00 NT_YK P%sT 1980
-8:00 Canada P%sT
Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
Expand Down
112 changes: 0 additions & 112 deletions lib/tzinfo/data/definitions/Africa/Cairo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,118 +142,6 @@ module Cairo
tz.transition 2014, 6, :o1, 1403816400
tz.transition 2014, 7, :o2, 1406844000
tz.transition 2014, 9, :o1, 1411678800
tz.transition 2015, 4, :o2, 1430431200
tz.transition 2015, 6, :o1, 1434056400
tz.transition 2015, 7, :o2, 1437688800
tz.transition 2015, 9, :o1, 1443128400
tz.transition 2016, 4, :o2, 1461880800
tz.transition 2016, 6, :o1, 1464901200
tz.transition 2016, 7, :o2, 1467928800
tz.transition 2016, 9, :o1, 1475182800
tz.transition 2017, 4, :o2, 1493330400
tz.transition 2017, 5, :o1, 1495746000
tz.transition 2017, 6, :o2, 1498773600
tz.transition 2017, 9, :o1, 1506632400
tz.transition 2018, 4, :o2, 1524780000
tz.transition 2018, 5, :o1, 1525986000
tz.transition 2018, 6, :o2, 1529013600
tz.transition 2018, 9, :o1, 1538082000
tz.transition 2019, 4, :o2, 1556229600
tz.transition 2019, 5, :o1, 1556830800
tz.transition 2019, 6, :o2, 1559858400
tz.transition 2019, 9, :o1, 1569531600
tz.transition 2020, 5, :o2, 1590703200
tz.transition 2020, 9, :o1, 1600981200
tz.transition 2021, 5, :o2, 1620943200
tz.transition 2021, 9, :o1, 1633035600
tz.transition 2022, 5, :o2, 1651788000
tz.transition 2022, 9, :o1, 1664485200
tz.transition 2023, 4, :o2, 1682632800
tz.transition 2023, 9, :o1, 1695934800
tz.transition 2024, 4, :o2, 1714082400
tz.transition 2024, 9, :o1, 1727384400
tz.transition 2025, 4, :o2, 1745532000
tz.transition 2025, 9, :o1, 1758834000
tz.transition 2026, 4, :o2, 1777586400
tz.transition 2026, 9, :o1, 1790283600
tz.transition 2027, 4, :o2, 1809036000
tz.transition 2027, 9, :o1, 1822338000
tz.transition 2028, 4, :o2, 1840485600
tz.transition 2028, 9, :o1, 1853787600
tz.transition 2029, 4, :o2, 1871935200
tz.transition 2029, 9, :o1, 1885237200
tz.transition 2030, 4, :o2, 1903384800
tz.transition 2030, 9, :o1, 1916686800
tz.transition 2031, 4, :o2, 1934834400
tz.transition 2031, 9, :o1, 1948136400
tz.transition 2032, 4, :o2, 1966888800
tz.transition 2032, 9, :o1, 1980190800
tz.transition 2033, 4, :o2, 1998338400
tz.transition 2033, 9, :o1, 2011640400
tz.transition 2034, 4, :o2, 2029788000
tz.transition 2034, 9, :o1, 2043090000
tz.transition 2035, 4, :o2, 2061237600
tz.transition 2035, 9, :o1, 2074539600
tz.transition 2036, 4, :o2, 2092687200
tz.transition 2036, 9, :o1, 2105989200
tz.transition 2037, 4, :o2, 2124741600
tz.transition 2037, 9, :o1, 2137438800
tz.transition 2038, 4, :o2, 2156191200, 29586521, 12
tz.transition 2038, 9, :o1, 2169493200, 19725579, 8
tz.transition 2039, 4, :o2, 2187640800, 29590889, 12
tz.transition 2039, 9, :o1, 2200942800, 19728491, 8
tz.transition 2040, 4, :o2, 2219090400, 29595257, 12
tz.transition 2040, 9, :o1, 2232392400, 19731403, 8
tz.transition 2041, 4, :o2, 2250540000, 29599625, 12
tz.transition 2041, 9, :o1, 2263842000, 19734315, 8
tz.transition 2042, 4, :o2, 2281989600, 29603993, 12
tz.transition 2042, 9, :o1, 2295291600, 19737227, 8
tz.transition 2043, 4, :o2, 2314044000, 29608445, 12
tz.transition 2043, 9, :o1, 2326741200, 19740139, 8
tz.transition 2044, 4, :o2, 2345493600, 29612813, 12
tz.transition 2044, 9, :o1, 2358795600, 19743107, 8
tz.transition 2045, 4, :o2, 2376943200, 29617181, 12
tz.transition 2045, 9, :o1, 2390245200, 19746019, 8
tz.transition 2046, 4, :o2, 2408392800, 29621549, 12
tz.transition 2046, 9, :o1, 2421694800, 19748931, 8
tz.transition 2047, 4, :o2, 2439842400, 29625917, 12
tz.transition 2047, 9, :o1, 2453144400, 19751843, 8
tz.transition 2048, 4, :o2, 2471896800, 29630369, 12
tz.transition 2048, 9, :o1, 2484594000, 19754755, 8
tz.transition 2049, 4, :o2, 2503346400, 29634737, 12
tz.transition 2049, 9, :o1, 2516648400, 19757723, 8
tz.transition 2050, 4, :o2, 2534796000, 29639105, 12
tz.transition 2050, 9, :o1, 2548098000, 19760635, 8
tz.transition 2051, 4, :o2, 2566245600, 29643473, 12
tz.transition 2051, 9, :o1, 2579547600, 19763547, 8
tz.transition 2052, 4, :o2, 2597695200, 29647841, 12
tz.transition 2052, 9, :o1, 2610997200, 19766459, 8
tz.transition 2053, 4, :o2, 2629144800, 29652209, 12
tz.transition 2053, 9, :o1, 2642446800, 19769371, 8
tz.transition 2054, 4, :o2, 2661199200, 29656661, 12
tz.transition 2054, 9, :o1, 2673896400, 19772283, 8
tz.transition 2055, 4, :o2, 2692648800, 29661029, 12
tz.transition 2055, 9, :o1, 2705950800, 19775251, 8
tz.transition 2056, 4, :o2, 2724098400, 29665397, 12
tz.transition 2056, 9, :o1, 2737400400, 19778163, 8
tz.transition 2057, 4, :o2, 2755548000, 29669765, 12
tz.transition 2057, 9, :o1, 2768850000, 19781075, 8
tz.transition 2058, 4, :o2, 2786997600, 29674133, 12
tz.transition 2058, 9, :o1, 2800299600, 19783987, 8
tz.transition 2059, 4, :o2, 2818447200, 29678501, 12
tz.transition 2059, 9, :o1, 2831749200, 19786899, 8
tz.transition 2060, 4, :o2, 2850501600, 29682953, 12
tz.transition 2060, 9, :o1, 2863803600, 19789867, 8
tz.transition 2061, 4, :o2, 2881951200, 29687321, 12
tz.transition 2061, 9, :o1, 2895253200, 19792779, 8
tz.transition 2062, 4, :o2, 2913400800, 29691689, 12
tz.transition 2062, 9, :o1, 2926702800, 19795691, 8
tz.transition 2063, 4, :o2, 2944850400, 29696057, 12
tz.transition 2063, 9, :o1, 2958152400, 19798603, 8
tz.transition 2064, 4, :o2, 2976300000, 29700425, 12
tz.transition 2064, 9, :o1, 2989602000, 19801515, 8
tz.transition 2065, 4, :o2, 3008354400, 29704877, 12
tz.transition 2065, 9, :o1, 3021051600, 19804427, 8
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions lib/tzinfo/data/definitions/America/Adak.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ module Adak
tz.offset :o5, -39600, 0, :BST
tz.offset :o6, -39600, 3600, :BDT
tz.offset :o7, -36000, 0, :AHST
tz.offset :o8, -36000, 0, :HAST
tz.offset :o9, -36000, 3600, :HADT
tz.offset :o8, -36000, 0, :HST
tz.offset :o9, -36000, 3600, :HDT

tz.transition 1867, 10, :o1, -3225356001, 23071267111, 9600
tz.transition 1900, 8, :o2, -2188944802, 104338907599, 43200
Expand Down
Loading

0 comments on commit 58d9fad

Please sign in to comment.