From dfdc2d887779443f1ff5bfae0af95856357827cf Mon Sep 17 00:00:00 2001 From: Phil Ross Date: Thu, 3 Nov 2016 21:43:11 +0000 Subject: [PATCH] Update to tzdata version 2016i. https://mm.icann.org/pipermail/tz-announce/2016-November/000043.html --- data/NEWS | 60 ++++++++ data/SOURCE | 2 +- data/antarctica | 7 +- data/asia | 17 +- data/australasia | 18 ++- data/europe | 145 ++++++++++-------- data/version | 2 +- data/zone.tab | 3 +- data/zone1970.tab | 3 +- .../data/definitions/Antarctica/Casey.rb | 1 + lib/tzinfo/data/definitions/Asia/Famagusta.rb | 109 +++++++++++++ lib/tzinfo/data/definitions/Europe/Malta.rb | 26 ++-- lib/tzinfo/data/definitions/Europe/Rome.rb | 30 ++-- .../data/definitions/Pacific/Tongatapu.rb | 106 ++++++++++++- lib/tzinfo/data/indexes/countries.rb | 3 +- lib/tzinfo/data/indexes/timezones.rb | 1 + lib/tzinfo/data/version.rb | 4 +- 17 files changed, 426 insertions(+), 111 deletions(-) create mode 100644 lib/tzinfo/data/definitions/Asia/Famagusta.rb diff --git a/data/NEWS b/data/NEWS index 64d493bb..da5c2a57 100644 --- a/data/NEWS +++ b/data/NEWS @@ -1,5 +1,65 @@ News for the tz database +Release 2016i - 2016-11-01 23:19:52 -0700 + + Briefly: Cyprus split into two time zones on 2016-10-30, and Tonga + reintroduces DST on 2016-11-06. + + Changes to future time stamps + + Pacific/Tongatapu begins DST on 2016-11-06 at 02:00, ending on + 2017-01-15 at 03:00. Assume future observances in Tonga will be + from the first Sunday in November through the third Sunday in + January, like Fiji. (Thanks to Pulu ʻAnau.) Switch to numeric + time zone abbreviations for this zone. + + Changes to past and future time stamps + + Northern Cyprus is now +03 year round, causing a split in Cyprus + time zones starting 2016-10-30 at 04:00. This creates a zone + Asia/Famagusta. (Thanks to Even Scharning and Matt Johnson.) + + Antarctica/Casey switched from +08 to +11 on 2016-10-22. + (Thanks to Steffen Thorsen.) + + Changes to past time stamps + + Several corrections were made for pre-1975 time stamps in Italy. + These affect Europe/Malta, Europe/Rome, Europe/San_Marino, and + Europe/Vatican. + + First, the 1893-11-01 00:00 transition in Italy used the new UT + offset (+01), not the old (+00:49:56). (Thanks to Michael + Deckers.) + + Second, rules for daylight saving in Italy were changed to agree + with Italy's National Institute of Metrological Research (INRiM) + except for 1944, as follows (thanks to Pierpaolo Bernardi, Brian + Inglis, and Michael Deckers): + + The 1916-06-03 transition was at 24:00, not 00:00. + + The 1916-10-01, 1919-10-05, and 1920-09-19 transitions were at + 00:00, not 01:00. + + The 1917-09-30 and 1918-10-06 transitions were at 24:00, not + 01:00. + + The 1944-09-17 transition was at 03:00, not 01:00. This + particular change is taken from Italian law as INRiM's table, + (which says 02:00) appears to have a typo here. Also, keep the + 1944-04-03 transition for Europe/Rome, as Rome was controlled by + Germany then. + + The 1967-1970 and 1972-1974 fallback transitions were at 01:00, + not 00:00. + + Changes to code + + The code should now be buildable on AmigaOS merely by setting the + appropriate Makefile variables. (From a patch by Carsten Larsen.) + + Release 2016h - 2016-10-19 23:17:57 -0700 Changes to future time stamps diff --git a/data/SOURCE b/data/SOURCE index 5d47cb34..59b8ae9f 100644 --- a/data/SOURCE +++ b/data/SOURCE @@ -1,2 +1,2 @@ The files in this directory were obtained from the IANA Time Zone Database -http://www.iana.org/time-zones, version 2016h. +http://www.iana.org/time-zones, version 2016i. diff --git a/data/antarctica b/data/antarctica index 09958357..6da1aef8 100644 --- a/data/antarctica +++ b/data/antarctica @@ -64,13 +64,18 @@ # Background: # http://www.timeanddate.com/news/time/antartica-time-changes-2010.html +# From Steffen Thorsen (2016-10-28): +# Australian Antarctica Division informed us that Casey changed time +# zone to UTC+11 in "the morning of 22nd October 2016". + # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Antarctica/Casey 0 - -00 1969 8:00 - +08 2009 Oct 18 2:00 11:00 - +11 2010 Mar 5 2:00 8:00 - +08 2011 Oct 28 2:00 11:00 - +11 2012 Feb 21 17:00u - 8:00 - +08 + 8:00 - +08 2016 Oct 22 + 11:00 - +11 Zone Antarctica/Davis 0 - -00 1957 Jan 13 7:00 - +07 1964 Nov 0 - -00 1969 Feb diff --git a/data/asia b/data/asia index b2c99308..67164b3d 100644 --- a/data/asia +++ b/data/asia @@ -771,9 +771,19 @@ Zone Asia/Macau 7:34:20 - LMT 1912 Jan 1 ############################################################################### # Cyprus -# + # Milne says the Eastern Telegraph Company used 2:14:00. Stick with LMT. +# IATA SSIM (1998-09) has Cyprus using EU rules for the first time. + +# From Paul Eggert (2016-09-09): +# Yesterday's Cyprus Mail reports that Northern Cyprus followed Turkey's +# lead and switched from +02/+03 to +03 year-round. +# http://cyprus-mail.com/2016/09/08/two-time-zones-cyprus-turkey-will-not-turn-clocks-back-next-month/ # +# From Even Scharning (2016-10-31): +# Looks like the time zone split in Cyprus went through last night. +# http://cyprus-mail.com/2016/10/30/cyprus-new-division-two-time-zones-now-reality/ + # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Cyprus 1975 only - Apr 13 0:00 1:00 S Rule Cyprus 1975 only - Oct 12 0:00 0 - @@ -788,7 +798,10 @@ Rule Cyprus 1981 1998 - Mar lastSun 0:00 1:00 S Zone Asia/Nicosia 2:13:28 - LMT 1921 Nov 14 2:00 Cyprus EE%sT 1998 Sep 2:00 EUAsia EE%sT -# IATA SSIM (1998-09) has Cyprus using EU rules for the first time. +Zone Asia/Famagusta 2:15:48 - LMT 1921 Nov 14 + 2:00 Cyprus EE%sT 1998 Sep + 2:00 EUAsia EE%sT 2016 Sep 8 + 3:00 - +03 # Classically, Cyprus belongs to Asia; e.g. see Herodotus, Histories, I.72. # However, for various reasons many users expect to find it under Europe. diff --git a/data/australasia b/data/australasia index 85d36329..0bca53e2 100644 --- a/data/australasia +++ b/data/australasia @@ -702,11 +702,13 @@ Rule Tonga 1999 only - Oct 7 2:00s 1:00 S Rule Tonga 2000 only - Mar 19 2:00s 0 - Rule Tonga 2000 2001 - Nov Sun>=1 2:00 1:00 S Rule Tonga 2001 2002 - Jan lastSun 2:00 0 - +Rule Tonga 2016 max - Nov Sun>=1 2:00 1:00 S +Rule Tonga 2017 max - Jan Sun>=15 3:00 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Pacific/Tongatapu 12:19:20 - LMT 1901 - 12:20 - TOT 1941 # Tonga Time - 13:00 - TOT 1999 - 13:00 Tonga TO%sT + 12:20 - +1220 1941 + 13:00 - +13 1999 + 13:00 Tonga +13/+14 # Tuvalu # Zone NAME GMTOFF RULES FORMAT [UNTIL] @@ -1712,9 +1714,17 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # of January the standard time in the Kingdom shall be moved backward by one # hour to 1:00am. -# From Pulu 'Anau (2002-11-05): +# From Pulu ʻAnau (2002-11-05): # The law was for 3 years, supposedly to get renewed. It wasn't. +# From Pulu ʻAnau (2016-10-27): +# http://mic.gov.to/news-today/press-releases/6375-daylight-saving-set-to-run-from-6-november-2016-to-15-january-2017 +# Cannot find anyone who knows the rules, has seen the duration or has seen +# the cabinet decision, but it appears we are following Fiji's rule set. +# +# From Tim Parenti (2016-10-26): +# Assume Tonga will observe DST from the first Sunday in November at 02:00 +# through the third Sunday in January at 03:00, like Fiji, for now. # Wake diff --git a/data/europe b/data/europe index a7dc350d..4709cc74 100644 --- a/data/europe +++ b/data/europe @@ -1500,73 +1500,84 @@ Zone Atlantic/Reykjavik -1:28 - LMT 1908 # But these events all occurred before the 1970 cutoff, # so record only the time in Rome. # -# From Paul Eggert (2006-03-22): -# For Italian DST we have three sources: Shanks & Pottenger, Whitman, and -# F. Pollastri -# Day-light Saving Time in Italy (2006-02-03) -# http://toi.iriti.cnr.it/uk/ienitlt.html -# ('FP' below), taken from an Italian National Electrotechnical Institute -# publication. When the three sources disagree, guess who's right, as follows: -# -# year FP Shanks&P. (S) Whitman (W) Go with: -# 1916 06-03 06-03 24:00 06-03 00:00 FP & W -# 09-30 09-30 24:00 09-30 01:00 FP; guess 24:00s -# 1917 04-01 03-31 24:00 03-31 00:00 FP & S -# 09-30 09-29 24:00 09-30 01:00 FP & W -# 1918 03-09 03-09 24:00 03-09 00:00 FP & S -# 10-06 10-05 24:00 10-06 01:00 FP & W -# 1919 03-01 03-01 24:00 03-01 00:00 FP & S -# 10-04 10-04 24:00 10-04 01:00 FP; guess 24:00s -# 1920 03-20 03-20 24:00 03-20 00:00 FP & S -# 09-18 09-18 24:00 10-01 01:00 FP; guess 24:00s -# 1944 04-02 04-03 02:00 S (see C-Eur) -# 09-16 10-02 03:00 FP; guess 24:00s -# 1945 09-14 09-16 24:00 FP; guess 24:00s -# 1970 05-21 05-31 00:00 S -# 09-20 09-27 00:00 S +# From Michael Deckers (2016-10-24): +# http://www.ac-ilsestante.it/MERIDIANE/ora_legale quotes a law of 1893-08-10 +# ... [translated as] "The preceding dispositions will enter into +# force at the instant at which, according to the time specified in +# the 1st article, the 1st of November 1893 will begin...." +# +# From Pierpaolo Bernardi (2016-10-20): +# The authoritative source for time in Italy is the national metrological +# institute, which has a summary page of historical DST data at +# http://www.inrim.it/res/tf/ora_legale_i.shtml +# (2016-10-24): +# http://www.renzobaldini.it/le-ore-legali-in-italia/ +# has still different data for 1944. It divides Italy in two, as +# there were effectively two governments at the time, north of Gothic +# Line German controlled territory, official government RSI, and south +# of the Gothic Line, controlled by allied armies. +# +# From Brian Inglis (2016-10-23): +# Viceregal LEGISLATIVE DECREE. 14 September 1944, no. 219. +# Restoration of Standard Time. (044U0219) (OJ 62 of 30.9.1944) ... +# Given the R. law decreed on 1944-03-29, no. 92, by which standard time is +# advanced to sixty minutes later starting at hour two on 1944-04-02; ... +# Starting at hour three on the date 1944-09-17 standard time will be resumed. +# +# From Paul Eggert (2016-10-27): +# Go with INRiM for DST rules, except as corrected by Inglis for 1944 +# for the Kingdom of Italy. This is consistent with Renzo Baldini. +# Model Rome's occupation by using using C-Eur rules from 1943-09-10 +# to 1944-06-04; although Rome was an open city during this period, it +# was effectively controlled by Germany. # # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S -Rule Italy 1916 only - Jun 3 0:00s 1:00 S -Rule Italy 1916 only - Oct 1 0:00s 0 - -Rule Italy 1917 only - Apr 1 0:00s 1:00 S -Rule Italy 1917 only - Sep 30 0:00s 0 - -Rule Italy 1918 only - Mar 10 0:00s 1:00 S -Rule Italy 1918 1919 - Oct Sun>=1 0:00s 0 - -Rule Italy 1919 only - Mar 2 0:00s 1:00 S -Rule Italy 1920 only - Mar 21 0:00s 1:00 S -Rule Italy 1920 only - Sep 19 0:00s 0 - -Rule Italy 1940 only - Jun 15 0:00s 1:00 S -Rule Italy 1944 only - Sep 17 0:00s 0 - -Rule Italy 1945 only - Apr 2 2:00 1:00 S -Rule Italy 1945 only - Sep 15 0:00s 0 - -Rule Italy 1946 only - Mar 17 2:00s 1:00 S -Rule Italy 1946 only - Oct 6 2:00s 0 - -Rule Italy 1947 only - Mar 16 0:00s 1:00 S -Rule Italy 1947 only - Oct 5 0:00s 0 - -Rule Italy 1948 only - Feb 29 2:00s 1:00 S -Rule Italy 1948 only - Oct 3 2:00s 0 - -Rule Italy 1966 1968 - May Sun>=22 0:00 1:00 S -Rule Italy 1966 1969 - Sep Sun>=22 0:00 0 - -Rule Italy 1969 only - Jun 1 0:00 1:00 S -Rule Italy 1970 only - May 31 0:00 1:00 S -Rule Italy 1970 only - Sep lastSun 0:00 0 - -Rule Italy 1971 1972 - May Sun>=22 0:00 1:00 S -Rule Italy 1971 only - Sep lastSun 1:00 0 - -Rule Italy 1972 only - Oct 1 0:00 0 - -Rule Italy 1973 only - Jun 3 0:00 1:00 S -Rule Italy 1973 1974 - Sep lastSun 0:00 0 - -Rule Italy 1974 only - May 26 0:00 1:00 S -Rule Italy 1975 only - Jun 1 0:00s 1:00 S -Rule Italy 1975 1977 - Sep lastSun 0:00s 0 - -Rule Italy 1976 only - May 30 0:00s 1:00 S -Rule Italy 1977 1979 - May Sun>=22 0:00s 1:00 S -Rule Italy 1978 only - Oct 1 0:00s 0 - -Rule Italy 1979 only - Sep 30 0:00s 0 - +Rule Italy 1916 only - Jun 3 24:00 1:00 S +Rule Italy 1916 1917 - Sep 30 24:00 0 - +Rule Italy 1917 only - Mar 31 24:00 1:00 S +Rule Italy 1918 only - Mar 9 24:00 1:00 S +Rule Italy 1918 only - Oct 6 24:00 0 - +Rule Italy 1919 only - Mar 1 24:00 1:00 S +Rule Italy 1919 only - Oct 4 24:00 0 - +Rule Italy 1920 only - Mar 20 24:00 1:00 S +Rule Italy 1920 only - Sep 18 24:00 0 - +Rule Italy 1940 only - Jun 14 24:00 1:00 S +Rule Italy 1942 only - Nov 2 2:00s 0 - +Rule Italy 1943 only - Mar 29 2:00s 1:00 S +Rule Italy 1943 only - Oct 4 2:00s 0 - +Rule Italy 1944 only - Apr 2 2:00s 1:00 S +Rule Italy 1944 only - Sep 17 2:00s 0 - +Rule Italy 1945 only - Apr 2 2:00 1:00 S +Rule Italy 1945 only - Sep 15 1:00 0 - +Rule Italy 1946 only - Mar 17 2:00s 1:00 S +Rule Italy 1946 only - Oct 6 2:00s 0 - +Rule Italy 1947 only - Mar 16 0:00s 1:00 S +Rule Italy 1947 only - Oct 5 0:00s 0 - +Rule Italy 1948 only - Feb 29 2:00s 1:00 S +Rule Italy 1948 only - Oct 3 2:00s 0 - +Rule Italy 1966 1968 - May Sun>=22 0:00s 1:00 S +Rule Italy 1966 only - Sep 24 24:00 0 - +Rule Italy 1967 1969 - Sep Sun>=22 0:00s 0 - +Rule Italy 1969 only - Jun 1 0:00s 1:00 S +Rule Italy 1970 only - May 31 0:00s 1:00 S +Rule Italy 1970 only - Sep lastSun 0:00s 0 - +Rule Italy 1971 1972 - May Sun>=22 0:00s 1:00 S +Rule Italy 1971 only - Sep lastSun 0:00s 0 - +Rule Italy 1972 only - Oct 1 0:00s 0 - +Rule Italy 1973 only - Jun 3 0:00s 1:00 S +Rule Italy 1973 1974 - Sep lastSun 0:00s 0 - +Rule Italy 1974 only - May 26 0:00s 1:00 S +Rule Italy 1975 only - Jun 1 0:00s 1:00 S +Rule Italy 1975 1977 - Sep lastSun 0:00s 0 - +Rule Italy 1976 only - May 30 0:00s 1:00 S +Rule Italy 1977 1979 - May Sun>=22 0:00s 1:00 S +Rule Italy 1978 only - Oct 1 0:00s 0 - +Rule Italy 1979 only - Sep 30 0:00s 0 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/Rome 0:49:56 - LMT 1866 Sep 22 - 0:49:56 - RMT 1893 Nov 1 0:00s # Rome Mean - 1:00 Italy CE%sT 1942 Nov 2 2:00s - 1:00 C-Eur CE%sT 1944 Jul + 0:49:56 - RMT 1893 Oct 31 23:49:56 # Rome Mean + 1:00 Italy CE%sT 1943 Sep 10 + 1:00 C-Eur CE%sT 1944 Jun 4 1:00 Italy CE%sT 1980 1:00 EU CE%sT @@ -1765,6 +1776,10 @@ Zone Europe/Luxembourg 0:24:36 - LMT 1904 Jun # See Europe/Belgrade. # Malta +# +# From Paul Eggert (2016-10-21): +# Assume 1900-1972 was like Rome, overriding Shanks. +# # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Malta 1973 only - Mar 31 0:00s 1:00 S Rule Malta 1973 only - Sep 29 0:00s 0 - @@ -1775,8 +1790,6 @@ Rule Malta 1975 1980 - Sep Sun>=15 2:00 0 - Rule Malta 1980 only - Mar 31 2:00 1:00 S # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/Malta 0:58:04 - LMT 1893 Nov 2 0:00s # Valletta - 1:00 Italy CE%sT 1942 Nov 2 2:00s - 1:00 C-Eur CE%sT 1945 Apr 2 2:00s 1:00 Italy CE%sT 1973 Mar 31 1:00 Malta CE%sT 1981 1:00 EU CE%sT @@ -1908,7 +1921,7 @@ Zone Europe/Monaco 0:29:32 - LMT 1891 Mar 15 # Amsterdam mean time. # The data entries before 1945 are taken from -# http://www.staff.science.uu.nl/~gent0113/idl/idl.htm +# http://www.staff.science.uu.nl/~gent0113/wettijd/wettijd.htm # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S Rule Neth 1916 only - May 1 0:00 1:00 NST # Netherlands Summer Time diff --git a/data/version b/data/version index 7bea5562..bc96124d 100644 --- a/data/version +++ b/data/version @@ -1 +1 @@ -2016h +2016i diff --git a/data/zone.tab b/data/zone.tab index cf774b5d..f4969d29 100644 --- a/data/zone.tab +++ b/data/zone.tab @@ -152,7 +152,8 @@ CU +2308-08222 America/Havana CV +1455-02331 Atlantic/Cape_Verde CW +1211-06900 America/Curacao CX -1025+10543 Indian/Christmas -CY +3510+03322 Asia/Nicosia +CY +3510+03322 Asia/Nicosia Cyprus (most areas) +CY +3507+03357 Asia/Famagusta Northern Cyprus CZ +5005+01426 Europe/Prague DE +5230+01322 Europe/Berlin Germany (most areas) DE +4742+00841 Europe/Busingen Busingen diff --git a/data/zone1970.tab b/data/zone1970.tab index b7372cf6..f48f7a6b 100644 --- a/data/zone1970.tab +++ b/data/zone1970.tab @@ -144,7 +144,8 @@ CU +2308-08222 America/Havana CV +1455-02331 Atlantic/Cape_Verde CW,AW,BQ,SX +1211-06900 America/Curacao CX -1025+10543 Indian/Christmas -CY +3510+03322 Asia/Nicosia +CY +3510+03322 Asia/Nicosia Cyprus (most areas) +CY +3507+03357 Asia/Famagusta Northern Cyprus CZ,SK +5005+01426 Europe/Prague DE +5230+01322 Europe/Berlin Germany (most areas) DK +5540+01235 Europe/Copenhagen diff --git a/lib/tzinfo/data/definitions/Antarctica/Casey.rb b/lib/tzinfo/data/definitions/Antarctica/Casey.rb index c8f52957..5cd01cdb 100644 --- a/lib/tzinfo/data/definitions/Antarctica/Casey.rb +++ b/lib/tzinfo/data/definitions/Antarctica/Casey.rb @@ -20,6 +20,7 @@ module Casey tz.transition 2010, 3, :o1, 1267714800 tz.transition 2011, 10, :o2, 1319738400 tz.transition 2012, 2, :o1, 1329843600 + tz.transition 2016, 10, :o2, 1477065600 end end end diff --git a/lib/tzinfo/data/definitions/Asia/Famagusta.rb b/lib/tzinfo/data/definitions/Asia/Famagusta.rb new file mode 100644 index 00000000..766d92d3 --- /dev/null +++ b/lib/tzinfo/data/definitions/Asia/Famagusta.rb @@ -0,0 +1,109 @@ +# encoding: UTF-8 + +# This file contains data derived from the IANA Time Zone Database +# (http://www.iana.org/time-zones). + +module TZInfo + module Data + module Definitions + module Asia + module Famagusta + include TimezoneDefinition + + timezone 'Asia/Famagusta' do |tz| + tz.offset :o0, 8148, 0, :LMT + tz.offset :o1, 7200, 0, :EET + tz.offset :o2, 7200, 3600, :EEST + tz.offset :o3, 10800, 0, :'+03' + + tz.transition 1921, 11, :o1, -1518920148, 17445653321, 7200 + tz.transition 1975, 4, :o2, 166572000 + tz.transition 1975, 10, :o1, 182293200 + tz.transition 1976, 5, :o2, 200959200 + tz.transition 1976, 10, :o1, 213829200 + tz.transition 1977, 4, :o2, 228866400 + tz.transition 1977, 9, :o1, 243982800 + tz.transition 1978, 4, :o2, 260316000 + tz.transition 1978, 10, :o1, 276123600 + tz.transition 1979, 3, :o2, 291765600 + tz.transition 1979, 9, :o1, 307486800 + tz.transition 1980, 4, :o2, 323820000 + tz.transition 1980, 9, :o1, 338936400 + tz.transition 1981, 3, :o2, 354664800 + tz.transition 1981, 9, :o1, 370386000 + tz.transition 1982, 3, :o2, 386114400 + tz.transition 1982, 9, :o1, 401835600 + tz.transition 1983, 3, :o2, 417564000 + tz.transition 1983, 9, :o1, 433285200 + tz.transition 1984, 3, :o2, 449013600 + tz.transition 1984, 9, :o1, 465339600 + tz.transition 1985, 3, :o2, 481068000 + tz.transition 1985, 9, :o1, 496789200 + tz.transition 1986, 3, :o2, 512517600 + tz.transition 1986, 9, :o1, 528238800 + tz.transition 1987, 3, :o2, 543967200 + tz.transition 1987, 9, :o1, 559688400 + tz.transition 1988, 3, :o2, 575416800 + tz.transition 1988, 9, :o1, 591138000 + tz.transition 1989, 3, :o2, 606866400 + tz.transition 1989, 9, :o1, 622587600 + tz.transition 1990, 3, :o2, 638316000 + tz.transition 1990, 9, :o1, 654642000 + tz.transition 1991, 3, :o2, 670370400 + tz.transition 1991, 9, :o1, 686091600 + tz.transition 1992, 3, :o2, 701820000 + tz.transition 1992, 9, :o1, 717541200 + tz.transition 1993, 3, :o2, 733269600 + tz.transition 1993, 9, :o1, 748990800 + tz.transition 1994, 3, :o2, 764719200 + tz.transition 1994, 9, :o1, 780440400 + tz.transition 1995, 3, :o2, 796168800 + tz.transition 1995, 9, :o1, 811890000 + tz.transition 1996, 3, :o2, 828223200 + tz.transition 1996, 9, :o1, 843944400 + tz.transition 1997, 3, :o2, 859672800 + tz.transition 1997, 9, :o1, 875394000 + tz.transition 1998, 3, :o2, 891122400 + tz.transition 1998, 10, :o1, 909277200 + tz.transition 1999, 3, :o2, 922582800 + tz.transition 1999, 10, :o1, 941331600 + tz.transition 2000, 3, :o2, 954032400 + tz.transition 2000, 10, :o1, 972781200 + tz.transition 2001, 3, :o2, 985482000 + tz.transition 2001, 10, :o1, 1004230800 + tz.transition 2002, 3, :o2, 1017536400 + tz.transition 2002, 10, :o1, 1035680400 + tz.transition 2003, 3, :o2, 1048986000 + tz.transition 2003, 10, :o1, 1067130000 + tz.transition 2004, 3, :o2, 1080435600 + tz.transition 2004, 10, :o1, 1099184400 + tz.transition 2005, 3, :o2, 1111885200 + tz.transition 2005, 10, :o1, 1130634000 + tz.transition 2006, 3, :o2, 1143334800 + tz.transition 2006, 10, :o1, 1162083600 + tz.transition 2007, 3, :o2, 1174784400 + tz.transition 2007, 10, :o1, 1193533200 + tz.transition 2008, 3, :o2, 1206838800 + tz.transition 2008, 10, :o1, 1224982800 + tz.transition 2009, 3, :o2, 1238288400 + tz.transition 2009, 10, :o1, 1256432400 + tz.transition 2010, 3, :o2, 1269738000 + tz.transition 2010, 10, :o1, 1288486800 + tz.transition 2011, 3, :o2, 1301187600 + tz.transition 2011, 10, :o1, 1319936400 + tz.transition 2012, 3, :o2, 1332637200 + tz.transition 2012, 10, :o1, 1351386000 + tz.transition 2013, 3, :o2, 1364691600 + tz.transition 2013, 10, :o1, 1382835600 + tz.transition 2014, 3, :o2, 1396141200 + tz.transition 2014, 10, :o1, 1414285200 + tz.transition 2015, 3, :o2, 1427590800 + tz.transition 2015, 10, :o1, 1445734800 + tz.transition 2016, 3, :o2, 1459040400 + tz.transition 2016, 9, :o3, 1473282000 + end + end + end + end + end +end diff --git a/lib/tzinfo/data/definitions/Europe/Malta.rb b/lib/tzinfo/data/definitions/Europe/Malta.rb index 19e1c6ec..23e6f110 100644 --- a/lib/tzinfo/data/definitions/Europe/Malta.rb +++ b/lib/tzinfo/data/definitions/Europe/Malta.rb @@ -16,22 +16,22 @@ module Malta tz.offset :o2, 3600, 3600, :CEST tz.transition 1893, 11, :o1, -2403478684, 52115820329, 21600 - tz.transition 1916, 6, :o2, -1690851600, 58104419, 24 - tz.transition 1916, 9, :o1, -1680483600, 58107299, 24 + tz.transition 1916, 6, :o2, -1690765200, 58104443, 24 + tz.transition 1916, 9, :o1, -1680487200, 29053649, 12 tz.transition 1917, 3, :o2, -1664758800, 58111667, 24 - tz.transition 1917, 9, :o1, -1649034000, 58116035, 24 + tz.transition 1917, 9, :o1, -1648951200, 29058029, 12 tz.transition 1918, 3, :o2, -1635123600, 58119899, 24 - tz.transition 1918, 10, :o1, -1616979600, 58124939, 24 + tz.transition 1918, 10, :o1, -1616896800, 29062481, 12 tz.transition 1919, 3, :o2, -1604278800, 58128467, 24 - tz.transition 1919, 10, :o1, -1585530000, 58133675, 24 + tz.transition 1919, 10, :o1, -1585533600, 29066837, 12 tz.transition 1920, 3, :o2, -1571014800, 58137707, 24 - tz.transition 1920, 9, :o1, -1555290000, 58142075, 24 + tz.transition 1920, 9, :o1, -1555293600, 29071037, 12 tz.transition 1940, 6, :o2, -932432400, 58315091, 24 tz.transition 1942, 11, :o1, -857257200, 58335973, 24 tz.transition 1943, 3, :o2, -844556400, 58339501, 24 tz.transition 1943, 10, :o1, -828226800, 58344037, 24 - tz.transition 1944, 4, :o2, -812502000, 58348405, 24 - tz.transition 1944, 10, :o1, -796777200, 58352773, 24 + tz.transition 1944, 4, :o2, -812588400, 58348381, 24 + tz.transition 1944, 9, :o1, -798073200, 58352413, 24 tz.transition 1945, 4, :o2, -781052400, 58357141, 24 tz.transition 1945, 9, :o1, -766717200, 58361123, 24 tz.transition 1946, 3, :o2, -750898800, 58365517, 24 @@ -43,17 +43,17 @@ module Malta tz.transition 1966, 5, :o2, -114051600, 58542419, 24 tz.transition 1966, 9, :o1, -103168800, 29272721, 12 tz.transition 1967, 5, :o2, -81997200, 58551323, 24 - tz.transition 1967, 9, :o1, -71719200, 29277089, 12 + tz.transition 1967, 9, :o1, -71715600, 58554179, 24 tz.transition 1968, 5, :o2, -50547600, 58560059, 24 - tz.transition 1968, 9, :o1, -40269600, 29281457, 12 + tz.transition 1968, 9, :o1, -40266000, 58562915, 24 tz.transition 1969, 5, :o2, -18493200, 58568963, 24 - tz.transition 1969, 9, :o1, -8215200, 29285909, 12 + tz.transition 1969, 9, :o1, -8211600, 58571819, 24 tz.transition 1970, 5, :o2, 12956400 - tz.transition 1970, 9, :o1, 23234400 + tz.transition 1970, 9, :o1, 23238000 tz.transition 1971, 5, :o2, 43801200 tz.transition 1971, 9, :o1, 54687600 tz.transition 1972, 5, :o2, 75855600 - tz.transition 1972, 9, :o1, 86738400 + tz.transition 1972, 9, :o1, 86742000 tz.transition 1973, 3, :o2, 102380400 tz.transition 1973, 9, :o1, 118105200 tz.transition 1974, 4, :o2, 135730800 diff --git a/lib/tzinfo/data/definitions/Europe/Rome.rb b/lib/tzinfo/data/definitions/Europe/Rome.rb index 1b8a290c..d82275b8 100644 --- a/lib/tzinfo/data/definitions/Europe/Rome.rb +++ b/lib/tzinfo/data/definitions/Europe/Rome.rb @@ -17,23 +17,23 @@ module Rome tz.offset :o3, 3600, 3600, :CEST tz.transition 1866, 9, :o1, -3259097396, 51901915651, 21600 - tz.transition 1893, 10, :o2, -2403564596, 52115798851, 21600 - tz.transition 1916, 6, :o3, -1690851600, 58104419, 24 - tz.transition 1916, 9, :o2, -1680483600, 58107299, 24 + tz.transition 1893, 10, :o2, -2403565200, 57906443, 24 + tz.transition 1916, 6, :o3, -1690765200, 58104443, 24 + tz.transition 1916, 9, :o2, -1680487200, 29053649, 12 tz.transition 1917, 3, :o3, -1664758800, 58111667, 24 - tz.transition 1917, 9, :o2, -1649034000, 58116035, 24 + tz.transition 1917, 9, :o2, -1648951200, 29058029, 12 tz.transition 1918, 3, :o3, -1635123600, 58119899, 24 - tz.transition 1918, 10, :o2, -1616979600, 58124939, 24 + tz.transition 1918, 10, :o2, -1616896800, 29062481, 12 tz.transition 1919, 3, :o3, -1604278800, 58128467, 24 - tz.transition 1919, 10, :o2, -1585530000, 58133675, 24 + tz.transition 1919, 10, :o2, -1585533600, 29066837, 12 tz.transition 1920, 3, :o3, -1571014800, 58137707, 24 - tz.transition 1920, 9, :o2, -1555290000, 58142075, 24 + tz.transition 1920, 9, :o2, -1555293600, 29071037, 12 tz.transition 1940, 6, :o3, -932432400, 58315091, 24 tz.transition 1942, 11, :o2, -857257200, 58335973, 24 tz.transition 1943, 3, :o3, -844556400, 58339501, 24 tz.transition 1943, 10, :o2, -828226800, 58344037, 24 tz.transition 1944, 4, :o3, -812502000, 58348405, 24 - tz.transition 1944, 9, :o2, -798080400, 58352411, 24 + tz.transition 1944, 9, :o2, -798073200, 58352413, 24 tz.transition 1945, 4, :o3, -781052400, 58357141, 24 tz.transition 1945, 9, :o2, -766717200, 58361123, 24 tz.transition 1946, 3, :o3, -750898800, 58365517, 24 @@ -45,21 +45,21 @@ module Rome tz.transition 1966, 5, :o3, -114051600, 58542419, 24 tz.transition 1966, 9, :o2, -103168800, 29272721, 12 tz.transition 1967, 5, :o3, -81997200, 58551323, 24 - tz.transition 1967, 9, :o2, -71719200, 29277089, 12 + tz.transition 1967, 9, :o2, -71715600, 58554179, 24 tz.transition 1968, 5, :o3, -50547600, 58560059, 24 - tz.transition 1968, 9, :o2, -40269600, 29281457, 12 + tz.transition 1968, 9, :o2, -40266000, 58562915, 24 tz.transition 1969, 5, :o3, -18493200, 58568963, 24 - tz.transition 1969, 9, :o2, -8215200, 29285909, 12 + tz.transition 1969, 9, :o2, -8211600, 58571819, 24 tz.transition 1970, 5, :o3, 12956400 - tz.transition 1970, 9, :o2, 23234400 + tz.transition 1970, 9, :o2, 23238000 tz.transition 1971, 5, :o3, 43801200 tz.transition 1971, 9, :o2, 54687600 tz.transition 1972, 5, :o3, 75855600 - tz.transition 1972, 9, :o2, 86738400 + tz.transition 1972, 9, :o2, 86742000 tz.transition 1973, 6, :o3, 107910000 - tz.transition 1973, 9, :o2, 118188000 + tz.transition 1973, 9, :o2, 118191600 tz.transition 1974, 5, :o3, 138754800 - tz.transition 1974, 9, :o2, 149637600 + tz.transition 1974, 9, :o2, 149641200 tz.transition 1975, 5, :o3, 170809200 tz.transition 1975, 9, :o2, 181090800 tz.transition 1976, 5, :o3, 202258800 diff --git a/lib/tzinfo/data/definitions/Pacific/Tongatapu.rb b/lib/tzinfo/data/definitions/Pacific/Tongatapu.rb index cbe2054f..2598913c 100644 --- a/lib/tzinfo/data/definitions/Pacific/Tongatapu.rb +++ b/lib/tzinfo/data/definitions/Pacific/Tongatapu.rb @@ -12,9 +12,9 @@ module Tongatapu timezone 'Pacific/Tongatapu' do |tz| tz.offset :o0, 44360, 0, :LMT - tz.offset :o1, 44400, 0, :TOT - tz.offset :o2, 46800, 0, :TOT - tz.offset :o3, 46800, 3600, :TOST + tz.offset :o1, 44400, 0, :'+1220' + tz.offset :o2, 46800, 0, :'+13' + tz.offset :o3, 46800, 3600, :'+14' tz.transition 1900, 12, :o1, -2177497160, 5217231571, 2160 tz.transition 1940, 12, :o2, -915193200, 174959639, 72 @@ -24,6 +24,106 @@ module Tongatapu tz.transition 2001, 1, :o2, 980596800 tz.transition 2001, 11, :o3, 1004792400 tz.transition 2002, 1, :o2, 1012046400 + tz.transition 2016, 11, :o3, 1478350800 + tz.transition 2017, 1, :o2, 1484398800 + tz.transition 2017, 11, :o3, 1509800400 + tz.transition 2018, 1, :o2, 1516453200 + tz.transition 2018, 11, :o3, 1541250000 + tz.transition 2019, 1, :o2, 1547902800 + tz.transition 2019, 11, :o3, 1572699600 + tz.transition 2020, 1, :o2, 1579352400 + tz.transition 2020, 10, :o3, 1604149200 + tz.transition 2021, 1, :o2, 1610802000 + tz.transition 2021, 11, :o3, 1636203600 + tz.transition 2022, 1, :o2, 1642251600 + tz.transition 2022, 11, :o3, 1667653200 + tz.transition 2023, 1, :o2, 1673701200 + tz.transition 2023, 11, :o3, 1699102800 + tz.transition 2024, 1, :o2, 1705755600 + tz.transition 2024, 11, :o3, 1730552400 + tz.transition 2025, 1, :o2, 1737205200 + tz.transition 2025, 11, :o3, 1762002000 + tz.transition 2026, 1, :o2, 1768654800 + tz.transition 2026, 10, :o3, 1793451600 + tz.transition 2027, 1, :o2, 1800104400 + tz.transition 2027, 11, :o3, 1825506000 + tz.transition 2028, 1, :o2, 1831554000 + tz.transition 2028, 11, :o3, 1856955600 + tz.transition 2029, 1, :o2, 1863608400 + tz.transition 2029, 11, :o3, 1888405200 + tz.transition 2030, 1, :o2, 1895058000 + tz.transition 2030, 11, :o3, 1919854800 + tz.transition 2031, 1, :o2, 1926507600 + tz.transition 2031, 11, :o3, 1951304400 + tz.transition 2032, 1, :o2, 1957957200 + tz.transition 2032, 11, :o3, 1983358800 + tz.transition 2033, 1, :o2, 1989406800 + tz.transition 2033, 11, :o3, 2014808400 + tz.transition 2034, 1, :o2, 2020856400 + tz.transition 2034, 11, :o3, 2046258000 + tz.transition 2035, 1, :o2, 2052910800 + tz.transition 2035, 11, :o3, 2077707600 + tz.transition 2036, 1, :o2, 2084360400 + tz.transition 2036, 11, :o3, 2109157200 + tz.transition 2037, 1, :o2, 2115810000 + tz.transition 2037, 10, :o3, 2140606800 + tz.transition 2038, 1, :o2, 2147259600 + tz.transition 2038, 11, :o3, 2172661200, 59177617, 24 + tz.transition 2039, 1, :o2, 2178709200, 59179297, 24 + tz.transition 2039, 11, :o3, 2204110800, 59186353, 24 + tz.transition 2040, 1, :o2, 2210158800, 59188033, 24 + tz.transition 2040, 11, :o3, 2235560400, 59195089, 24 + tz.transition 2041, 1, :o2, 2242213200, 59196937, 24 + tz.transition 2041, 11, :o3, 2267010000, 59203825, 24 + tz.transition 2042, 1, :o2, 2273662800, 59205673, 24 + tz.transition 2042, 11, :o3, 2298459600, 59212561, 24 + tz.transition 2043, 1, :o2, 2305112400, 59214409, 24 + tz.transition 2043, 10, :o3, 2329909200, 59221297, 24 + tz.transition 2044, 1, :o2, 2336562000, 59223145, 24 + tz.transition 2044, 11, :o3, 2361963600, 59230201, 24 + tz.transition 2045, 1, :o2, 2368011600, 59231881, 24 + tz.transition 2045, 11, :o3, 2393413200, 59238937, 24 + tz.transition 2046, 1, :o2, 2400066000, 59240785, 24 + tz.transition 2046, 11, :o3, 2424862800, 59247673, 24 + tz.transition 2047, 1, :o2, 2431515600, 59249521, 24 + tz.transition 2047, 11, :o3, 2456312400, 59256409, 24 + tz.transition 2048, 1, :o2, 2462965200, 59258257, 24 + tz.transition 2048, 10, :o3, 2487762000, 59265145, 24 + tz.transition 2049, 1, :o2, 2494414800, 59266993, 24 + tz.transition 2049, 11, :o3, 2519816400, 59274049, 24 + tz.transition 2050, 1, :o2, 2525864400, 59275729, 24 + tz.transition 2050, 11, :o3, 2551266000, 59282785, 24 + tz.transition 2051, 1, :o2, 2557314000, 59284465, 24 + tz.transition 2051, 11, :o3, 2582715600, 59291521, 24 + tz.transition 2052, 1, :o2, 2589368400, 59293369, 24 + tz.transition 2052, 11, :o3, 2614165200, 59300257, 24 + tz.transition 2053, 1, :o2, 2620818000, 59302105, 24 + tz.transition 2053, 11, :o3, 2645614800, 59308993, 24 + tz.transition 2054, 1, :o2, 2652267600, 59310841, 24 + tz.transition 2054, 10, :o3, 2677064400, 59317729, 24 + tz.transition 2055, 1, :o2, 2683717200, 59319577, 24 + tz.transition 2055, 11, :o3, 2709118800, 59326633, 24 + tz.transition 2056, 1, :o2, 2715166800, 59328313, 24 + tz.transition 2056, 11, :o3, 2740568400, 59335369, 24 + tz.transition 2057, 1, :o2, 2747221200, 59337217, 24 + tz.transition 2057, 11, :o3, 2772018000, 59344105, 24 + tz.transition 2058, 1, :o2, 2778670800, 59345953, 24 + tz.transition 2058, 11, :o3, 2803467600, 59352841, 24 + tz.transition 2059, 1, :o2, 2810120400, 59354689, 24 + tz.transition 2059, 11, :o3, 2834917200, 59361577, 24 + tz.transition 2060, 1, :o2, 2841570000, 59363425, 24 + tz.transition 2060, 11, :o3, 2866971600, 59370481, 24 + tz.transition 2061, 1, :o2, 2873019600, 59372161, 24 + tz.transition 2061, 11, :o3, 2898421200, 59379217, 24 + tz.transition 2062, 1, :o2, 2904469200, 59380897, 24 + tz.transition 2062, 11, :o3, 2929870800, 59387953, 24 + tz.transition 2063, 1, :o2, 2936523600, 59389801, 24 + tz.transition 2063, 11, :o3, 2961320400, 59396689, 24 + tz.transition 2064, 1, :o2, 2967973200, 59398537, 24 + tz.transition 2064, 11, :o3, 2992770000, 59405425, 24 + tz.transition 2065, 1, :o2, 2999422800, 59407273, 24 + tz.transition 2065, 10, :o3, 3024219600, 59414161, 24 + tz.transition 2066, 1, :o2, 3030872400, 59416009, 24 end end end diff --git a/lib/tzinfo/data/indexes/countries.rb b/lib/tzinfo/data/indexes/countries.rb index 1d88082d..ff344488 100644 --- a/lib/tzinfo/data/indexes/countries.rb +++ b/lib/tzinfo/data/indexes/countries.rb @@ -247,7 +247,8 @@ module Countries c.timezone 'Indian/Christmas', -125, 12, 6343, 60 end country 'CY', 'Cyprus' do |c| - c.timezone 'Asia/Nicosia', 211, 6, 1001, 30 + c.timezone 'Asia/Nicosia', 211, 6, 1001, 30, 'Cyprus (most areas)' + c.timezone 'Asia/Famagusta', 2107, 60, 679, 20, 'Northern Cyprus' end country 'CZ', 'Czech Republic' do |c| c.timezone 'Europe/Prague', 601, 12, 433, 30 diff --git a/lib/tzinfo/data/indexes/timezones.rb b/lib/tzinfo/data/indexes/timezones.rb index 471caeec..fdb3419c 100644 --- a/lib/tzinfo/data/indexes/timezones.rb +++ b/lib/tzinfo/data/indexes/timezones.rb @@ -269,6 +269,7 @@ module Timezones timezone 'Asia/Dili' timezone 'Asia/Dubai' timezone 'Asia/Dushanbe' + timezone 'Asia/Famagusta' timezone 'Asia/Gaza' linked_timezone 'Asia/Harbin' timezone 'Asia/Hebron' diff --git a/lib/tzinfo/data/version.rb b/lib/tzinfo/data/version.rb index fdfbc3a8..7719157a 100644 --- a/lib/tzinfo/data/version.rb +++ b/lib/tzinfo/data/version.rb @@ -1,7 +1,7 @@ module TZInfo module Data # TZInfo::Data version number. - VERSION = '1.2016.8' + VERSION = '1.2016.9' # TZInfo::Data version information. module Version @@ -14,7 +14,7 @@ module Version # The version of the {IANA Time Zone Database}[http://www.iana.org/time-zones] # used to generate this version of TZInfo::Data. - TZDATA = '2016h' + TZDATA = '2016i' end end end