diff --git a/data/NEWS b/data/NEWS index 8afe3a4d..9c445cd0 100644 --- a/data/NEWS +++ b/data/NEWS @@ -1,5 +1,69 @@ News for the tz database +Release 2018e - 2018-05-01 23:42:51 -0700 + + Briefly: + + North Korea switches back to +09 on 2018-05-05. + The main format uses negative DST again, for Ireland etc. + 'make tarballs' now also builds a rearguard tarball. + New 's' and 'd' suffixes in SAVE columns of Rule and Zone lines. + + Changes to past and future time stamps + + North Korea switches back from +0830 to +09 on 2018-05-05. + (Thanks to Kang Seonghoon, Arthur David Olson, Seo Sanghyeon, + and Tim Parenti.) + + Bring back the negative-DST changes of 2018a, except be more + compatible with data parsers that do not support negative DST. + Also, this now affects historical time stamps in Namibia and the + former Czechoslovakia, not just Ireland. The main format now uses + negative DST to model time stamps in Europe/Dublin (from 1971 on), + Europe/Prague (1946/7), and Africa/Windhoek (1994/2017). This + does not affect UT offsets, only time zone abbreviations and the + tm_isdst flag. Also, this does not affect rearguard or vanguard + formats; effectively the main format now uses vanguard instead of + rearguard format. Data parsers that do not support negative DST + can still use data from the rearguard tarball described below. + + Changes to build procedure + + The command 'make tarballs' now also builds the tarball + tzdataVERSION-rearguard.tar.gz, which is like tzdataVERSION.tar.gz + except that it uses rearguard format intended for trailing-edge + data parsers. + + Changes to data format and to code + + The SAVE column of Rule and Zone lines can now have an 's' or 'd' + suffix, which specifies whether the adjusted time is standard time + or daylight saving time. If no suffix is given, daylight saving + time is used if and only if the SAVE column is nonzero; this is + the longstanding behavior. Although this new feature is not used + in tzdata, it could be used to specify the legal time in Namibia + 1994-2017, as opposed to the popular time (see below). + + Changes to past time stamps + + From 1994 through 2017 Namibia observed DST in winter, not summer. + That is, it used negative DST, as Ireland still does. This change + does not affect UTC offsets; it affects only the tm_isdst flag and + the abbreviation used during summer, which is now CAT, not WAST. + Although (as noted by Michael Deckers) summer and winter time were + both simply called "standard time" in Namibian law, in common + practice winter time was considered to be DST (as noted by Stephen + Colebourne). The full effect of this change is only in vanguard + format; in rearguard and main format, the tm_isdst flag is still + zero in winter and nonzero in summer. + + In 1946/7 Czechoslovakia also observed negative DST in winter. + The full effect of this change is only in vanguard format; in + rearguard and main formats, it is modeled as plain GMT without + daylight saving. Also, the dates of some 1944/5 DST transitions + in Czechoslovakia have been changed. + + Release 2018d - 2018-03-22 07:05:46 -0700 Briefly: @@ -39,7 +103,7 @@ Release 2018d - 2018-03-22 07:05:46 -0700 Enderbury and Kiritimati skipped New Year's Eve 1994, not New Year's Day 1995. (Thanks to Kerry Shetline.) - Fix the 1912-01-01 transition for Portugual and its colonies. + Fix the 1912-01-01 transition for Portugal and its colonies. This transition was at 00:00 according to the new UT offset, not according to the old one. Also assume that Cape Verde switched on the same date as the rest, not in 1907. This affects diff --git a/data/SOURCE b/data/SOURCE index 0f68b366..74b96b46 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 2018d. +http://www.iana.org/time-zones, version 2018e. diff --git a/data/africa b/data/africa index 2f7217ae..84e1ce2d 100644 --- a/data/africa +++ b/data/africa @@ -6,7 +6,7 @@ # tz@iana.org for general use in the future). For more, please see # the file CONTRIBUTING in the tz distribution. -# From Paul Eggert (2017-02-20): +# From Paul Eggert (2017-04-09): # # Unless otherwise specified, the source for data through 1990 is: # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition), @@ -52,7 +52,7 @@ # cannot now come up with solid citations. # # I invented the following abbreviations; corrections are welcome! -# +02 WAST West Africa Summer Time +# +02 WAST West Africa Summer Time (no longer used) # +03 CAST Central Africa Summer Time (no longer used) # +03 SAST South Africa Summer Time (no longer used) # +03 EAT East Africa Time @@ -967,6 +967,10 @@ Link Africa/Maputo Africa/Lusaka # Zambia # commence at OOhOO on Monday 21 March 1994 and shall end at 02h00 on # Sunday 4 September 1994. +# From Michael Deckers (2017-04-06): +# ... both summer and winter time are called "standard" +# (which differs from the use in Ireland) ... + # From Petronella Sibeene (2007-03-30): # http://allafrica.com/stories/200703300178.html # While the entire country changes its time, Katima Mulilo and other @@ -992,19 +996,42 @@ Link Africa/Maputo Africa/Lusaka # Zambia # the same time they would normally start DST, the first Sunday in September: # https://www.timeanddate.com/news/time/namibia-new-time-zone.html +# From Paul Eggert (2017-04-09): +# Before the change, summer and winter time were both standard time legally. +# However in common parlance, winter time was considered to be DST. See, e.g.: +# http://www.nbc.na/news/namibias-winter-time-could-be-scrapped.2706 +# https://zone.my.na/news/times-are-changing-in-namibia +# https://www.newera.com.na/2017/02/23/namibias-winter-time-might-be-repealed/ +# Use plain "WAT" and "CAT" for the time zone abbreviations, to be compatible +# with Namibia's neighbors. + # RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S -Rule Namibia 1994 only - Mar 21 0:00 0 - -Rule Namibia 1994 2016 - Sep Sun>=1 2:00 1:00 S -Rule Namibia 1995 2017 - Apr Sun>=1 2:00 0 - +# Vanguard section, for zic and other parsers that support negative DST. +Rule Namibia 1994 only - Mar 21 0:00 -1:00 WAT +Rule Namibia 1994 2017 - Sep Sun>=1 2:00 0 CAT +Rule Namibia 1995 2017 - Apr Sun>=1 2:00 -1:00 WAT +# Rearguard section, for parsers that do not support negative DST. +#Rule Namibia 1994 only - Mar 21 0:00 0 WAT +#Rule Namibia 1994 2017 - Sep Sun>=1 2:00 1:00 CAT +#Rule Namibia 1995 2017 - Apr Sun>=1 2:00 0 WAT +# End of rearguard section. + # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8 1:30 - +0130 1903 Mar 2:00 - SAST 1942 Sep 20 2:00 2:00 1:00 SAST 1943 Mar 21 2:00 2:00 - SAST 1990 Mar 21 # independence - 2:00 - CAT 1994 Mar 21 0:00 - 1:00 Namibia WA%sT 2017 Sep 3 2:00 - 2:00 - CAT +# Vanguard section, for zic and other parsers that support negative DST. + 2:00 Namibia %s +# Rearguard section, for parsers that do not support negative DST. +# 2:00 - CAT 1994 Mar 21 0:00 +# From Paul Eggert (2017-04-07): +# The official date of the 2017 rule change was 2017-10-24. See: +# http://www.lac.org.na/laws/annoSTAT/Namibian%20Time%20Act%209%20of%202017.pdf +# 1:00 Namibia %s 2017 Oct 24 +# 2:00 - CAT +# End of rearguard section. # Niger # See Africa/Lagos. diff --git a/data/asia b/data/asia index 998a7d44..3d308647 100644 --- a/data/asia +++ b/data/asia @@ -1983,6 +1983,19 @@ Rule ROK 1987 1988 - Oct Sun>=8 3:00 0 S # There is no common English-language abbreviation for this time zone. # Use KST, as that's what we already use for 1954-1961 in ROK. +# From Kang Seonghoon (2018-04-29): +# North Korea will revert its time zone from UTC+8:30 (PYT; Pyongyang +# Time) back to UTC+9 (KST; Korea Standard Time). +# +# From Seo Sanghyeon (2018-04-30): +# Rodong Sinmun 2018-04-30 announced Pyongyang Time transition plan. +# https://www.nknews.org/kcna/wp-content/uploads/sites/5/2018/04/rodong-2018-04-30.pdf +# ... the transition date is 2018-05-05 ... Citation should be Decree +# No. 2232 of April 30, 2018, of the Presidium of the Supreme People's +# Assembly, as published in Rodong Sinmun. +# From Tim Parenti (2018-04-29): +# It appears to be the front page story at the top in the right-most column. + # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Asia/Seoul 8:27:52 - LMT 1908 Apr 1 8:30 - KST 1912 Jan 1 @@ -1994,7 +2007,8 @@ Zone Asia/Pyongyang 8:23:00 - LMT 1908 Apr 1 8:30 - KST 1912 Jan 1 9:00 - JST 1945 Aug 24 9:00 - KST 2015 Aug 15 00:00 - 8:30 - KST + 8:30 - KST 2018 May 5 + 9:00 - KST ############################################################################### @@ -2658,7 +2672,7 @@ Zone Asia/Karachi 4:28:12 - LMT 1907 # From Sharef Mustafa (2018-03-16): # Palestine summer time will start on Mar 24th 2018 by advancing the # clock by 60 minutes as per Palestinian cabinet decision published on -# the offical website, though the decree did not specify the exact +# the official website, though the decree did not specify the exact # time of the time shift. # http://www.palestinecabinet.gov.ps/Website/AR/NDecrees/ViewFile.ashx?ID=e7a42ab7-ee23-435a-b9c8-a4f7e81f3817 # diff --git a/data/australasia b/data/australasia index 32ad61e5..e3e79f19 100644 --- a/data/australasia +++ b/data/australasia @@ -1085,6 +1085,15 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 # (1999-09-27) writes that Giles Meteorological Station uses # South Australian time even though it's located in Western Australia. +# From Paul Eggert (2018-04-01): +# The Guardian Express of Perth, Australia reported today that the +# government decided to advance the clocks permanently on January 1, +# 2019, from UT +08 to UT +09. The article noted that an exemption +# would be made for people aged 61 and over, who "can apply in writing +# to have the extra hour of sunshine removed from their area." See: +# Daylight saving coming to WA in 2019. Guardian Express. 2018-04-01. +# https://www.communitynews.com.au/guardian-express/news/exclusive-daylight-savings-coming-wa-summer-2018/ + # Queensland # From Paul Eggert (2018-02-26): diff --git a/data/europe b/data/europe index 3f092a48..6994ed80 100644 --- a/data/europe +++ b/data/europe @@ -528,13 +528,13 @@ Link Europe/London Europe/Isle_of_Man # summer and negative daylight saving time in winter. It is for when # negative SAVE values are used. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S -#Rule Eire 1971 only - Oct 31 2:00u -1:00 GMT -#Rule Eire 1972 1980 - Mar Sun>=16 2:00u 0 IST -#Rule Eire 1972 1980 - Oct Sun>=23 2:00u -1:00 GMT -#Rule Eire 1981 max - Mar lastSun 1:00u 0 IST -#Rule Eire 1981 1989 - Oct Sun>=23 1:00u -1:00 GMT -#Rule Eire 1990 1995 - Oct Sun>=22 1:00u -1:00 GMT -#Rule Eire 1996 max - Oct lastSun 1:00u -1:00 GMT +Rule Eire 1971 only - Oct 31 2:00u -1:00 - +Rule Eire 1972 1980 - Mar Sun>=16 2:00u 0 - +Rule Eire 1972 1980 - Oct Sun>=23 2:00u -1:00 - +Rule Eire 1981 max - Mar lastSun 1:00u 0 - +Rule Eire 1981 1989 - Oct Sun>=23 1:00u -1:00 - +Rule Eire 1990 1995 - Oct Sun>=22 1:00u -1:00 - +Rule Eire 1996 max - Oct lastSun 1:00u -1:00 - # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/Dublin -0:25:00 - LMT 1880 Aug 2 @@ -548,11 +548,11 @@ Zone Europe/Dublin -0:25:00 - LMT 1880 Aug 2 0:00 - GMT 1948 Apr 18 2:00s 0:00 GB-Eire GMT/IST 1968 Oct 27 # The next line is for when negative SAVE values are used. -# 1:00 Eire IST/GMT + 1:00 Eire IST/GMT # These three lines are for when SAVE values are always nonnegative. - 1:00 - IST 1971 Oct 31 2:00u - 0:00 GB-Eire GMT/IST 1996 - 0:00 EU GMT/IST +# 1:00 - IST 1971 Oct 31 2:00u +# 0:00 GB-Eire GMT/IST 1996 +# 0:00 EU GMT/IST ############################################################################### @@ -970,18 +970,30 @@ Zone Europe/Sofia 1:33:16 - LMT 1880 # Please see the 'asia' file for Asia/Nicosia. # Czech Republic / Czechia +# +# From Paul Eggert (2018-04-15): +# The source for Czech data is: Kdy začíná a končí letní čas. 2018-04-15. +# https://kalendar.beda.cz/kdy-zacina-a-konci-letni-cas +# We know of no English-language name for historical Czech winter time; +# abbreviate it as "GMT", as it happened to be GMT. +# # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S -Rule Czech 1945 only - Apr 8 2:00s 1:00 S -Rule Czech 1945 only - Nov 18 2:00s 0 - +Rule Czech 1945 only - Apr Mon>=1 2:00s 1:00 S +Rule Czech 1945 only - Oct 1 2:00s 0 - Rule Czech 1946 only - May 6 2:00s 1:00 S Rule Czech 1946 1949 - Oct Sun>=1 2:00s 0 - -Rule Czech 1947 only - Apr 20 2:00s 1:00 S -Rule Czech 1948 only - Apr 18 2:00s 1:00 S +Rule Czech 1947 1948 - Apr Sun>=15 2:00s 1:00 S Rule Czech 1949 only - Apr 9 2:00s 1:00 S # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/Prague 0:57:44 - LMT 1850 0:57:44 - PMT 1891 Oct # Prague Mean Time - 1:00 C-Eur CE%sT 1944 Sep 17 2:00s + 1:00 C-Eur CE%sT 1945 May 9 + 1:00 Czech CE%sT 1946 Dec 1 3:00 +# Vanguard section, for zic and other parsers that support negative DST. + 1:00 -1:00 GMT 1947 Feb 23 2:00 +# Rearguard section, for parsers that do not support negative DST. +# 0:00 - GMT 1947 Feb 23 2:00 +# End of rearguard section. 1:00 Czech CE%sT 1979 1:00 EU CE%sT # Use Europe/Prague also for Slovakia. @@ -2016,7 +2028,7 @@ Rule Neth 1938 1939 - May 15 2:00s 1:00 S Rule Neth 1945 only - Apr 2 2:00s 1:00 S Rule Neth 1945 only - Sep 16 2:00s 0 - # -# Amsterdam Mean Time was +00:19:32.13 exactly, but the .13 is omitted +# Amsterdam Mean Time was +00:19:32.13, but the .13 is omitted # below because the current format requires GMTOFF to be an integer. # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/Amsterdam 0:19:32 - LMT 1835 diff --git a/data/theory.html b/data/theory.html index 4d8726d5..fc2102b3 100644 --- a/data/theory.html +++ b/data/theory.html @@ -32,7 +32,7 @@

Scope of the tz database

It organizes time zone and daylight saving time data by partitioning the world into regions -whose clocks all agree about timestamps that occur after the of the POSIX Epoch (1970-01-01 00:00:00 Scope of the tz database applications requiring accurate handling of all past times everywhere, as it would take far too much effort and guesswork to record all details of pre-1970 civil timekeeping. -Athough some information outside the scope of the database is +Although some information outside the scope of the database is collected in a file backzone that is distributed along with the database proper, this file is less reliable and does not necessarily follow database guidelines. @@ -68,7 +68,7 @@

Scope of the tz database

href="https://en.wikipedia.org/wiki/Unix">UNIX
-like systems. As of this writing, the current edition of POSIX is: The Open -Group Base Specifications Issue 7, IEEE Std 1003.1-2008, 2016 +Group Base Specifications Issue 7, IEEE Std 1003.1-2017, 2018 Edition. Because the database's scope encompasses real-world changes to civil timekeeping, its model for describing time is more complex than the @@ -79,7 +79,7 @@

Scope of the tz database

can change at times. Whether and when a tz region changes its clock, and even the region's notional base offset from UTC, are variable. -It doesn't even really make sense to talk about a region's +It does not always make sense to talk about a region's "base offset", since it is not necessarily a single number.

@@ -92,8 +92,8 @@

Names of time zone rulesets

corresponds to a set of time zone rules. Inexperienced users are not expected to select these names unaided. Distributors should provide documentation and/or a simple selection -interface that explains the names; for one example, see the 'tzselect' -program in the tz code. +interface that explains the names; for one example, see the +tzselect program in the tz code. The Unicode Common Locale Data Repository contains data that may be useful for other selection interfaces. @@ -137,6 +137,9 @@

Names of time zone rulesets

North and South America share the same area, 'America'. Typical names are 'Africa/Cairo', 'America/New_York', and 'Pacific/Honolulu'. +Some names are further qualified to help avoid confusion; for example, +'America/Indiana/Petersburg' distinguishes Petersburg, +Indiana from other Petersburgs in America.

@@ -159,7 +162,8 @@

Names of time zone rulesets

TZ strings. A file name component must not exceed 14 characters or start with '-'. - E.g., prefer 'Brunei' to 'Bandar_Seri_Begawan'. + E.g., prefer Asia/Brunei to + Asia/Bandar_Seri_Begawan. Exceptions: see the discussion of legacy names below.
  • @@ -177,8 +181,8 @@

    Names of time zone rulesets

    name AB (ignoring case), then B must not start with '/', as a regular file cannot have the same name as a directory in POSIX. - For example, 'America/New_York' precludes - 'America/New_York/Bronx'. + For example, America/New_York precludes + America/New_York/Bronx.
  • Uninhabited regions like the North Pole and Bouvet Island @@ -193,50 +197,56 @@

    Names of time zone rulesets

  • If all the clocks in a region have agreed since 1970, - don't bother to include more than one location + do not bother to include more than one location even if subregions' clocks disagreed before 1970. Otherwise these tables would become annoyingly large.
  • If a name is ambiguous, use a less ambiguous alternative; e.g., many cities are named San José and Georgetown, so - prefer 'Costa_Rica' to 'San_Jose' and - 'Guyana' to 'Georgetown'. + prefer America/Costa_Rica to + America/San_Jose and America/Guyana + to America/Georgetown.
  • Keep locations compact. Use cities or small islands, not countries or regions, so that any future changes do not split individual locations into different tz regions. - E.g., prefer 'Paris' to 'France', since + E.g., prefer Europe/Paris to Europe/France, + since France has had multiple time zones.
  • - Use mainstream English spelling, e.g., prefer 'Rome' - to 'Roma', and prefer 'Athens' to the - Greek 'Αθήνα' or the Romanized 'Athína'. + Use mainstream English spelling, e.g., prefer + Europe/Rome to Europe/Roma, and + prefer Europe/Athens to the Greek + Europe/Αθήνα or the Romanized + Europe/Athína. The POSIX file name restrictions encourage this guideline.
  • Use the most populous among locations in a region, - e.g., prefer 'Shanghai' to - 'Beijing'. + e.g., prefer Asia/Shanghai to + Asia/Beijing. Among locations with similar populations, pick the best-known - location, e.g., prefer 'Rome' to - 'Milan'. + location, e.g., prefer Europe/Rome to + Europe/Milan.
  • - Use the singular form, e.g., prefer 'Canary' to - 'Canaries'. + Use the singular form, e.g., prefer Atlantic/Canary to + Atlantic/Canaries.
  • Omit common suffixes like '_Islands' and '_City', unless that would lead to ambiguity. - E.g., prefer 'Cayman' to - 'Cayman_Islands' and 'Guatemala' to - 'Guatemala_City', but prefer - 'Mexico_City' to 'Mexico' + E.g., prefer America/Cayman to + America/Cayman_Islands and + America/Guatemala to + America/Guatemala_City, but prefer + America/Mexico_City to + America/Mexico because the country of Mexico has several time zones.
  • @@ -245,13 +255,14 @@

    Names of time zone rulesets

  • Omit '.' from abbreviations in names. - E.g., prefer 'St_Helena' to 'St._Helena'. + E.g., prefer Atlantic/St_Helena to + Atlantic/St._Helena.
  • Do not change established names if they only marginally violate the above guidelines. - For example, don't change the existing name 'Rome' to - 'Milan' merely because Milan's population has grown + For example, do not change the existing name Europe/Rome to + Europe/Milan merely because Milan's population has grown to be somewhat greater than Rome's.
  • @@ -318,8 +329,10 @@

    Time zone abbreviations

    Use three to six characters that are ASCII alphanumerics or '+' or '-'. Previous editions of this database also used characters like - ' ' and '?', but these characters have a - special meaning to the shell and cause commands like + space and '?', but these characters have a + special meaning to the + UNIX shell + and cause commands like 'set `date`' to have unexpected effects. @@ -688,7 +701,7 @@

    Accuracy of the tz database

    subsecond accuracy is needed.
  • - Civil time was not based on atomic time before 1972, and we don't + Civil time was not based on atomic time before 1972, and we do not know the history of earth's rotation accurately enough to map Accuracy of the tz database Ideally it would contain information about when data entries are incomplete or dicey. Partial temporal knowledge is a field of active research, though, - and it's not clear how to apply it here. + and it is not clear how to apply it here.
  • @@ -764,7 +777,7 @@

    POSIX properties and limitations

    Unfortunately, the POSIX TZ string takes a form that is hard to describe and is error-prone in practice. - Also, POSIX TZ strings can't deal with daylight + Also, POSIX TZ strings cannot deal with daylight saving time rules not based on the Gregorian calendar (as in Iran), or with situations where more than two time zone abbreviations or UT offsets are used in an area. @@ -874,7 +887,7 @@

    POSIX properties and limitations

    need access to multiple time zone rulesets.
  • - In POSIX, there's no tamper-proof way for a process to learn the + In POSIX, there is no tamper-proof way for a process to learn the system's best idea of local wall clock. (This is important for applications that an administrator wants used only at certain times – without regard to whether the @@ -973,14 +986,16 @@

    Extensions to POSIX in the by subsequent calls to localtime. Source code for portable applications that "must" run on local wall clock time should call tzsetwall; - if such code is moved to "old" systems that don't - provide tzsetwall, you won't be able to generate an + if such code is moved to "old" systems that do not + provide tzsetwall, you will not be able to generate an executable program. (These functions also arrange for local wall clock time to be used if tzset is called – directly or - indirectly – and there's no TZ environment + indirectly – and there is no TZ environment variable; portable applications should not, however, rely on this - behavior since it's not the way SVR2 systems behave.) + behavior since it is not the way SVR2 + systems behave.)

  • Negative time_t values are supported, on systems @@ -1040,7 +1055,7 @@

    Other portability notes

  • The 7th Edition UNIX timezone function is not present in this - package; it's impossible to reliably map timezone's + package; it is impossible to reliably map timezone's arguments (a "minutes west of GMT" value and a "daylight saving time in effect" flag) to a time zone abbreviation, and we refuse to guess. @@ -1052,7 +1067,9 @@

    Other portability notes

    zone abbreviation to use.
  • - The 4.2BSD gettimeofday function is not + The 4.2BSD + gettimeofday function is not used in this package. This formerly let users obtain the current UTC offset and DST flag, but this functionality was removed in @@ -1061,7 +1078,7 @@

    Other portability notes

  • In SVR2, time conversion fails for near-minimum or near-maximum time_t values when doing conversions - for places that don't use UT. + for places that do not use UT. This package takes care to do these conversions correctly. A comment in the source code tells how to get compatibly wrong results. @@ -1155,10 +1172,10 @@

    Calendrical issues

    Calendrical issues are a bit out of scope for a time zone database, but they indicate the sort of problems that we would run into if we extended the time zone database further into the past. -An excellent resource in this area is Nachum Dershowitz and Edward M. -Reingold, Calendrical -Calculations: Third Edition, Cambridge University Press (2008). +An excellent resource in this area is Edward M. Reingold +and Nachum Dershowitz, Calendrical +Calculations: The Ultimate Edition, Cambridge University Press (2018). Other information and sources are given in the file 'calendars' in the tz distribution. They sometimes disagree. @@ -1170,11 +1187,11 @@

    Time and time zones on other planets

    Some people's work schedules use Mars time. -Jet Propulsion Laboratory (JPL) coordinators have kept Mars time on -and off at least since 1997 for the +Jet Propulsion Laboratory (JPL) coordinators kept Mars time on +and off during the Mars Pathfinder mission. -Some of their family members have also adapted to Mars time. +Some of their family members also adapted to Mars time. Dozens of special Mars watches were built for JPL workers who kept Mars time during the Mars Exploration Rovers mission (2004). These timepieces look like normal Seikos and Citizens but use Mars @@ -1262,7 +1279,7 @@

    Time and time zones on other planets

    Jia-Rui Chong, "Workdays Fit for a Martian", Los Angeles Times - (2004-01-14), pp A1, A20-A21. + (2004-01-14), pp A1, A20–A21.
  • Tom Chmielewski, diff --git a/data/version b/data/version index ae3ff7cb..cc61cea2 100644 --- a/data/version +++ b/data/version @@ -1 +1 @@ -2018d +2018e diff --git a/data/ziguard.awk b/data/ziguard.awk index 6da3691f..42e29101 100644 --- a/data/ziguard.awk +++ b/data/ziguard.awk @@ -13,19 +13,30 @@ # rearguard format. BEGIN { - dst_type["vanguard.zi"] = 1 - dst_type["main.zi"] = 1 - dst_type["rearguard.zi"] = 1 + dataform_type["vanguard"] = 1 + dataform_type["main"] = 1 + dataform_type["rearguard"] = 1 - # The command line should set OUTFILE to the name of the output file. - if (!dst_type[outfile]) exit 1 - vanguard = outfile == "vanguard.zi" + # The command line should set DATAFORM. + if (!dataform_type[DATAFORM]) exit 1 + vanguard = DATAFORM == "vanguard" } /^Zone/ { zone = $2 } -outfile != "main.zi" { +DATAFORM != "main" { in_comment = /^#/ + uncomment = comment_out = 0 + + # If the line should differ due to Czechoslovakia using negative SAVE values, + # uncomment the desired version and comment out the undesired one. + if (zone == "Europe/Prague" && /1947 Feb 23/) { + if (($(in_comment + 2) != "-") == vanguard) { + uncomment = in_comment + } else { + comment_out = !in_comment + } + } # If this line should differ due to Ireland using negative SAVE values, # uncomment the desired version and comment out the undesired one. @@ -37,11 +48,38 @@ outfile != "main.zi" { if ((Rule_Eire \ || (Zone_Dublin_post_1968 && $(in_comment + 3) == "IST/GMT")) \ == vanguard) { - sub(/^#/, "") - } else if (/^[^#]/) { - sub(/^/, "#") + uncomment = in_comment + } else { + comment_out = !in_comment } } + + # If this line should differ due to Namibia using Rule SAVE suffixes, + # uncomment the desired version and comment out the undesired one. + Rule_Namibia = /^#?Rule[\t ]+Namibia[\t ]/ + Zone_using_Namibia_rule \ + = (zone == "Africa/Windhoek" \ + && ($(in_comment + 2) == "Namibia" \ + || (1994 <= $(in_comment + 4) && $(in_comment + 4) <= 2017) \ + || in_comment + 3 == NF)) + if (Rule_Namibia || Zone_using_Namibia_rule) { + if ((Rule_Namibia \ + ? ($(in_comment + 9) ~ /^-/ \ + || ($(in_comment + 9) == 0 && $(in_comment + 10) == "CAT")) \ + : $(in_comment + 1) == "2:00" && $(in_comment + 2) == "Namibia") \ + == vanguard) { + uncomment = in_comment + } else { + comment_out = !in_comment + } + } + + if (uncomment) { + sub(/^#/, "") + } + if (comment_out) { + sub(/^/, "#") + } } # If a Link line is followed by a Zone line for the same data, comment diff --git a/lib/tzinfo/data/definitions/Africa/Windhoek.rb b/lib/tzinfo/data/definitions/Africa/Windhoek.rb index e61d1c63..032bcac5 100644 --- a/lib/tzinfo/data/definitions/Africa/Windhoek.rb +++ b/lib/tzinfo/data/definitions/Africa/Windhoek.rb @@ -16,8 +16,7 @@ module Windhoek tz.offset :o2, 7200, 0, :SAST tz.offset :o3, 7200, 3600, :SAST tz.offset :o4, 7200, 0, :CAT - tz.offset :o5, 3600, 0, :WAT - tz.offset :o6, 3600, 3600, :WAST + tz.offset :o5, 7200, -3600, :WAT tz.transition 1892, 2, :o1, -2458170504, 964854581, 400 tz.transition 1903, 2, :o2, -2109288600, 38658791, 16 @@ -25,51 +24,51 @@ module Windhoek tz.transition 1943, 3, :o2, -845254800, 58339307, 24 tz.transition 1990, 3, :o4, 637970400 tz.transition 1994, 3, :o5, 764200800 - tz.transition 1994, 9, :o6, 778640400 + tz.transition 1994, 9, :o4, 778640400 tz.transition 1995, 4, :o5, 796780800 - tz.transition 1995, 9, :o6, 810090000 + tz.transition 1995, 9, :o4, 810090000 tz.transition 1996, 4, :o5, 828835200 - tz.transition 1996, 9, :o6, 841539600 + tz.transition 1996, 9, :o4, 841539600 tz.transition 1997, 4, :o5, 860284800 - tz.transition 1997, 9, :o6, 873594000 + tz.transition 1997, 9, :o4, 873594000 tz.transition 1998, 4, :o5, 891734400 - tz.transition 1998, 9, :o6, 905043600 + tz.transition 1998, 9, :o4, 905043600 tz.transition 1999, 4, :o5, 923184000 - tz.transition 1999, 9, :o6, 936493200 + tz.transition 1999, 9, :o4, 936493200 tz.transition 2000, 4, :o5, 954633600 - tz.transition 2000, 9, :o6, 967942800 + tz.transition 2000, 9, :o4, 967942800 tz.transition 2001, 4, :o5, 986083200 - tz.transition 2001, 9, :o6, 999392400 + tz.transition 2001, 9, :o4, 999392400 tz.transition 2002, 4, :o5, 1018137600 - tz.transition 2002, 9, :o6, 1030842000 + tz.transition 2002, 9, :o4, 1030842000 tz.transition 2003, 4, :o5, 1049587200 - tz.transition 2003, 9, :o6, 1062896400 + tz.transition 2003, 9, :o4, 1062896400 tz.transition 2004, 4, :o5, 1081036800 - tz.transition 2004, 9, :o6, 1094346000 + tz.transition 2004, 9, :o4, 1094346000 tz.transition 2005, 4, :o5, 1112486400 - tz.transition 2005, 9, :o6, 1125795600 + tz.transition 2005, 9, :o4, 1125795600 tz.transition 2006, 4, :o5, 1143936000 - tz.transition 2006, 9, :o6, 1157245200 + tz.transition 2006, 9, :o4, 1157245200 tz.transition 2007, 4, :o5, 1175385600 - tz.transition 2007, 9, :o6, 1188694800 + tz.transition 2007, 9, :o4, 1188694800 tz.transition 2008, 4, :o5, 1207440000 - tz.transition 2008, 9, :o6, 1220749200 + tz.transition 2008, 9, :o4, 1220749200 tz.transition 2009, 4, :o5, 1238889600 - tz.transition 2009, 9, :o6, 1252198800 + tz.transition 2009, 9, :o4, 1252198800 tz.transition 2010, 4, :o5, 1270339200 - tz.transition 2010, 9, :o6, 1283648400 + tz.transition 2010, 9, :o4, 1283648400 tz.transition 2011, 4, :o5, 1301788800 - tz.transition 2011, 9, :o6, 1315098000 + tz.transition 2011, 9, :o4, 1315098000 tz.transition 2012, 4, :o5, 1333238400 - tz.transition 2012, 9, :o6, 1346547600 + tz.transition 2012, 9, :o4, 1346547600 tz.transition 2013, 4, :o5, 1365292800 - tz.transition 2013, 9, :o6, 1377997200 + tz.transition 2013, 9, :o4, 1377997200 tz.transition 2014, 4, :o5, 1396742400 - tz.transition 2014, 9, :o6, 1410051600 + tz.transition 2014, 9, :o4, 1410051600 tz.transition 2015, 4, :o5, 1428192000 - tz.transition 2015, 9, :o6, 1441501200 + tz.transition 2015, 9, :o4, 1441501200 tz.transition 2016, 4, :o5, 1459641600 - tz.transition 2016, 9, :o6, 1472950800 + tz.transition 2016, 9, :o4, 1472950800 tz.transition 2017, 4, :o5, 1491091200 tz.transition 2017, 9, :o4, 1504400400 end diff --git a/lib/tzinfo/data/definitions/Asia/Pyongyang.rb b/lib/tzinfo/data/definitions/Asia/Pyongyang.rb index 34c3b43a..add1fc4c 100644 --- a/lib/tzinfo/data/definitions/Asia/Pyongyang.rb +++ b/lib/tzinfo/data/definitions/Asia/Pyongyang.rb @@ -20,6 +20,7 @@ module Pyongyang tz.transition 1911, 12, :o2, -1830414600, 116131303, 48 tz.transition 1945, 8, :o3, -768646800, 19453529, 8 tz.transition 2015, 8, :o1, 1439564400 + tz.transition 2018, 5, :o3, 1525447800 end end end diff --git a/lib/tzinfo/data/definitions/Europe/Dublin.rb b/lib/tzinfo/data/definitions/Europe/Dublin.rb index e8d6b285..38efe127 100644 --- a/lib/tzinfo/data/definitions/Europe/Dublin.rb +++ b/lib/tzinfo/data/definitions/Europe/Dublin.rb @@ -18,6 +18,7 @@ module Dublin tz.offset :o4, 0, 3600, :BST tz.offset :o5, 0, 3600, :IST tz.offset :o6, 3600, 0, :IST + tz.offset :o7, 3600, -3600, :GMT tz.transition 1880, 8, :o1, -2821649700, 693483701, 288 tz.transition 1916, 5, :o2, -1691962479, 7747214723, 3200 @@ -114,201 +115,200 @@ module Dublin tz.transition 1967, 10, :o3, -68680800, 29277511, 12 tz.transition 1968, 2, :o5, -59004000, 29278855, 12 tz.transition 1968, 10, :o6, -37242000, 58563755, 24 - tz.transition 1971, 10, :o3, 57722400 - tz.transition 1972, 3, :o5, 69818400 - tz.transition 1972, 10, :o3, 89172000 - tz.transition 1973, 3, :o5, 101268000 - tz.transition 1973, 10, :o3, 120621600 - tz.transition 1974, 3, :o5, 132717600 - tz.transition 1974, 10, :o3, 152071200 - tz.transition 1975, 3, :o5, 164167200 - tz.transition 1975, 10, :o3, 183520800 - tz.transition 1976, 3, :o5, 196221600 - tz.transition 1976, 10, :o3, 214970400 - tz.transition 1977, 3, :o5, 227671200 - tz.transition 1977, 10, :o3, 246420000 - tz.transition 1978, 3, :o5, 259120800 - tz.transition 1978, 10, :o3, 278474400 - tz.transition 1979, 3, :o5, 290570400 - tz.transition 1979, 10, :o3, 309924000 - tz.transition 1980, 3, :o5, 322020000 - tz.transition 1980, 10, :o3, 341373600 - tz.transition 1981, 3, :o5, 354675600 - tz.transition 1981, 10, :o3, 372819600 - tz.transition 1982, 3, :o5, 386125200 - tz.transition 1982, 10, :o3, 404269200 - tz.transition 1983, 3, :o5, 417574800 - tz.transition 1983, 10, :o3, 435718800 - tz.transition 1984, 3, :o5, 449024400 - tz.transition 1984, 10, :o3, 467773200 - tz.transition 1985, 3, :o5, 481078800 - tz.transition 1985, 10, :o3, 499222800 - tz.transition 1986, 3, :o5, 512528400 - tz.transition 1986, 10, :o3, 530672400 - tz.transition 1987, 3, :o5, 543978000 - tz.transition 1987, 10, :o3, 562122000 - tz.transition 1988, 3, :o5, 575427600 - tz.transition 1988, 10, :o3, 593571600 - tz.transition 1989, 3, :o5, 606877200 - tz.transition 1989, 10, :o3, 625626000 - tz.transition 1990, 3, :o5, 638326800 - tz.transition 1990, 10, :o3, 657075600 - tz.transition 1991, 3, :o5, 670381200 - tz.transition 1991, 10, :o3, 688525200 - tz.transition 1992, 3, :o5, 701830800 - tz.transition 1992, 10, :o3, 719974800 - tz.transition 1993, 3, :o5, 733280400 - tz.transition 1993, 10, :o3, 751424400 - tz.transition 1994, 3, :o5, 764730000 - tz.transition 1994, 10, :o3, 782874000 - tz.transition 1995, 3, :o5, 796179600 - tz.transition 1995, 10, :o3, 814323600 - tz.transition 1996, 3, :o5, 828234000 - tz.transition 1996, 10, :o3, 846378000 - tz.transition 1997, 3, :o5, 859683600 - tz.transition 1997, 10, :o3, 877827600 - tz.transition 1998, 3, :o5, 891133200 - tz.transition 1998, 10, :o3, 909277200 - tz.transition 1999, 3, :o5, 922582800 - tz.transition 1999, 10, :o3, 941331600 - tz.transition 2000, 3, :o5, 954032400 - tz.transition 2000, 10, :o3, 972781200 - tz.transition 2001, 3, :o5, 985482000 - tz.transition 2001, 10, :o3, 1004230800 - tz.transition 2002, 3, :o5, 1017536400 - tz.transition 2002, 10, :o3, 1035680400 - tz.transition 2003, 3, :o5, 1048986000 - tz.transition 2003, 10, :o3, 1067130000 - tz.transition 2004, 3, :o5, 1080435600 - tz.transition 2004, 10, :o3, 1099184400 - tz.transition 2005, 3, :o5, 1111885200 - tz.transition 2005, 10, :o3, 1130634000 - tz.transition 2006, 3, :o5, 1143334800 - tz.transition 2006, 10, :o3, 1162083600 - tz.transition 2007, 3, :o5, 1174784400 - tz.transition 2007, 10, :o3, 1193533200 - tz.transition 2008, 3, :o5, 1206838800 - tz.transition 2008, 10, :o3, 1224982800 - tz.transition 2009, 3, :o5, 1238288400 - tz.transition 2009, 10, :o3, 1256432400 - tz.transition 2010, 3, :o5, 1269738000 - tz.transition 2010, 10, :o3, 1288486800 - tz.transition 2011, 3, :o5, 1301187600 - tz.transition 2011, 10, :o3, 1319936400 - tz.transition 2012, 3, :o5, 1332637200 - tz.transition 2012, 10, :o3, 1351386000 - tz.transition 2013, 3, :o5, 1364691600 - tz.transition 2013, 10, :o3, 1382835600 - tz.transition 2014, 3, :o5, 1396141200 - tz.transition 2014, 10, :o3, 1414285200 - tz.transition 2015, 3, :o5, 1427590800 - tz.transition 2015, 10, :o3, 1445734800 - tz.transition 2016, 3, :o5, 1459040400 - tz.transition 2016, 10, :o3, 1477789200 - tz.transition 2017, 3, :o5, 1490490000 - tz.transition 2017, 10, :o3, 1509238800 - tz.transition 2018, 3, :o5, 1521939600 - tz.transition 2018, 10, :o3, 1540688400 - tz.transition 2019, 3, :o5, 1553994000 - tz.transition 2019, 10, :o3, 1572138000 - tz.transition 2020, 3, :o5, 1585443600 - tz.transition 2020, 10, :o3, 1603587600 - tz.transition 2021, 3, :o5, 1616893200 - tz.transition 2021, 10, :o3, 1635642000 - tz.transition 2022, 3, :o5, 1648342800 - tz.transition 2022, 10, :o3, 1667091600 - tz.transition 2023, 3, :o5, 1679792400 - tz.transition 2023, 10, :o3, 1698541200 - tz.transition 2024, 3, :o5, 1711846800 - tz.transition 2024, 10, :o3, 1729990800 - tz.transition 2025, 3, :o5, 1743296400 - tz.transition 2025, 10, :o3, 1761440400 - tz.transition 2026, 3, :o5, 1774746000 - tz.transition 2026, 10, :o3, 1792890000 - tz.transition 2027, 3, :o5, 1806195600 - tz.transition 2027, 10, :o3, 1824944400 - tz.transition 2028, 3, :o5, 1837645200 - tz.transition 2028, 10, :o3, 1856394000 - tz.transition 2029, 3, :o5, 1869094800 - tz.transition 2029, 10, :o3, 1887843600 - tz.transition 2030, 3, :o5, 1901149200 - tz.transition 2030, 10, :o3, 1919293200 - tz.transition 2031, 3, :o5, 1932598800 - tz.transition 2031, 10, :o3, 1950742800 - tz.transition 2032, 3, :o5, 1964048400 - tz.transition 2032, 10, :o3, 1982797200 - tz.transition 2033, 3, :o5, 1995498000 - tz.transition 2033, 10, :o3, 2014246800 - tz.transition 2034, 3, :o5, 2026947600 - tz.transition 2034, 10, :o3, 2045696400 - tz.transition 2035, 3, :o5, 2058397200 - tz.transition 2035, 10, :o3, 2077146000 - tz.transition 2036, 3, :o5, 2090451600 - tz.transition 2036, 10, :o3, 2108595600 - tz.transition 2037, 3, :o5, 2121901200 - tz.transition 2037, 10, :o3, 2140045200 - tz.transition 2038, 3, :o5, 2153350800, 59172253, 24 - tz.transition 2038, 10, :o3, 2172099600, 59177461, 24 - tz.transition 2039, 3, :o5, 2184800400, 59180989, 24 - tz.transition 2039, 10, :o3, 2203549200, 59186197, 24 - tz.transition 2040, 3, :o5, 2216250000, 59189725, 24 - tz.transition 2040, 10, :o3, 2234998800, 59194933, 24 - tz.transition 2041, 3, :o5, 2248304400, 59198629, 24 - tz.transition 2041, 10, :o3, 2266448400, 59203669, 24 - tz.transition 2042, 3, :o5, 2279754000, 59207365, 24 - tz.transition 2042, 10, :o3, 2297898000, 59212405, 24 - tz.transition 2043, 3, :o5, 2311203600, 59216101, 24 - tz.transition 2043, 10, :o3, 2329347600, 59221141, 24 - tz.transition 2044, 3, :o5, 2342653200, 59224837, 24 - tz.transition 2044, 10, :o3, 2361402000, 59230045, 24 - tz.transition 2045, 3, :o5, 2374102800, 59233573, 24 - tz.transition 2045, 10, :o3, 2392851600, 59238781, 24 - tz.transition 2046, 3, :o5, 2405552400, 59242309, 24 - tz.transition 2046, 10, :o3, 2424301200, 59247517, 24 - tz.transition 2047, 3, :o5, 2437606800, 59251213, 24 - tz.transition 2047, 10, :o3, 2455750800, 59256253, 24 - tz.transition 2048, 3, :o5, 2469056400, 59259949, 24 - tz.transition 2048, 10, :o3, 2487200400, 59264989, 24 - tz.transition 2049, 3, :o5, 2500506000, 59268685, 24 - tz.transition 2049, 10, :o3, 2519254800, 59273893, 24 - tz.transition 2050, 3, :o5, 2531955600, 59277421, 24 - tz.transition 2050, 10, :o3, 2550704400, 59282629, 24 - tz.transition 2051, 3, :o5, 2563405200, 59286157, 24 - tz.transition 2051, 10, :o3, 2582154000, 59291365, 24 - tz.transition 2052, 3, :o5, 2595459600, 59295061, 24 - tz.transition 2052, 10, :o3, 2613603600, 59300101, 24 - tz.transition 2053, 3, :o5, 2626909200, 59303797, 24 - tz.transition 2053, 10, :o3, 2645053200, 59308837, 24 - tz.transition 2054, 3, :o5, 2658358800, 59312533, 24 - tz.transition 2054, 10, :o3, 2676502800, 59317573, 24 - tz.transition 2055, 3, :o5, 2689808400, 59321269, 24 - tz.transition 2055, 10, :o3, 2708557200, 59326477, 24 - tz.transition 2056, 3, :o5, 2721258000, 59330005, 24 - tz.transition 2056, 10, :o3, 2740006800, 59335213, 24 - tz.transition 2057, 3, :o5, 2752707600, 59338741, 24 - tz.transition 2057, 10, :o3, 2771456400, 59343949, 24 - tz.transition 2058, 3, :o5, 2784762000, 59347645, 24 - tz.transition 2058, 10, :o3, 2802906000, 59352685, 24 - tz.transition 2059, 3, :o5, 2816211600, 59356381, 24 - tz.transition 2059, 10, :o3, 2834355600, 59361421, 24 - tz.transition 2060, 3, :o5, 2847661200, 59365117, 24 - tz.transition 2060, 10, :o3, 2866410000, 59370325, 24 - tz.transition 2061, 3, :o5, 2879110800, 59373853, 24 - tz.transition 2061, 10, :o3, 2897859600, 59379061, 24 - tz.transition 2062, 3, :o5, 2910560400, 59382589, 24 - tz.transition 2062, 10, :o3, 2929309200, 59387797, 24 - tz.transition 2063, 3, :o5, 2942010000, 59391325, 24 - tz.transition 2063, 10, :o3, 2960758800, 59396533, 24 - tz.transition 2064, 3, :o5, 2974064400, 59400229, 24 - tz.transition 2064, 10, :o3, 2992208400, 59405269, 24 - tz.transition 2065, 3, :o5, 3005514000, 59408965, 24 - tz.transition 2065, 10, :o3, 3023658000, 59414005, 24 - tz.transition 2066, 3, :o5, 3036963600, 59417701, 24 - tz.transition 2066, 10, :o3, 3055712400, 59422909, 24 - tz.transition 2067, 3, :o5, 3068413200, 59426437, 24 - tz.transition 2067, 10, :o3, 3087162000, 59431645, 24 - tz.transition 2068, 3, :o5, 3099862800, 59435173, 24 - tz.transition 2068, 10, :o3, 3118611600, 59440381, 24 + tz.transition 1971, 10, :o7, 57722400 + tz.transition 1972, 3, :o6, 69818400 + tz.transition 1972, 10, :o7, 89172000 + tz.transition 1973, 3, :o6, 101268000 + tz.transition 1973, 10, :o7, 120621600 + tz.transition 1974, 3, :o6, 132717600 + tz.transition 1974, 10, :o7, 152071200 + tz.transition 1975, 3, :o6, 164167200 + tz.transition 1975, 10, :o7, 183520800 + tz.transition 1976, 3, :o6, 196221600 + tz.transition 1976, 10, :o7, 214970400 + tz.transition 1977, 3, :o6, 227671200 + tz.transition 1977, 10, :o7, 246420000 + tz.transition 1978, 3, :o6, 259120800 + tz.transition 1978, 10, :o7, 278474400 + tz.transition 1979, 3, :o6, 290570400 + tz.transition 1979, 10, :o7, 309924000 + tz.transition 1980, 3, :o6, 322020000 + tz.transition 1980, 10, :o7, 341373600 + tz.transition 1981, 3, :o6, 354675600 + tz.transition 1981, 10, :o7, 372819600 + tz.transition 1982, 3, :o6, 386125200 + tz.transition 1982, 10, :o7, 404269200 + tz.transition 1983, 3, :o6, 417574800 + tz.transition 1983, 10, :o7, 435718800 + tz.transition 1984, 3, :o6, 449024400 + tz.transition 1984, 10, :o7, 467773200 + tz.transition 1985, 3, :o6, 481078800 + tz.transition 1985, 10, :o7, 499222800 + tz.transition 1986, 3, :o6, 512528400 + tz.transition 1986, 10, :o7, 530672400 + tz.transition 1987, 3, :o6, 543978000 + tz.transition 1987, 10, :o7, 562122000 + tz.transition 1988, 3, :o6, 575427600 + tz.transition 1988, 10, :o7, 593571600 + tz.transition 1989, 3, :o6, 606877200 + tz.transition 1989, 10, :o7, 625626000 + tz.transition 1990, 3, :o6, 638326800 + tz.transition 1990, 10, :o7, 657075600 + tz.transition 1991, 3, :o6, 670381200 + tz.transition 1991, 10, :o7, 688525200 + tz.transition 1992, 3, :o6, 701830800 + tz.transition 1992, 10, :o7, 719974800 + tz.transition 1993, 3, :o6, 733280400 + tz.transition 1993, 10, :o7, 751424400 + tz.transition 1994, 3, :o6, 764730000 + tz.transition 1994, 10, :o7, 782874000 + tz.transition 1995, 3, :o6, 796179600 + tz.transition 1995, 10, :o7, 814323600 + tz.transition 1996, 3, :o6, 828234000 + tz.transition 1996, 10, :o7, 846378000 + tz.transition 1997, 3, :o6, 859683600 + tz.transition 1997, 10, :o7, 877827600 + tz.transition 1998, 3, :o6, 891133200 + tz.transition 1998, 10, :o7, 909277200 + tz.transition 1999, 3, :o6, 922582800 + tz.transition 1999, 10, :o7, 941331600 + tz.transition 2000, 3, :o6, 954032400 + tz.transition 2000, 10, :o7, 972781200 + tz.transition 2001, 3, :o6, 985482000 + tz.transition 2001, 10, :o7, 1004230800 + tz.transition 2002, 3, :o6, 1017536400 + tz.transition 2002, 10, :o7, 1035680400 + tz.transition 2003, 3, :o6, 1048986000 + tz.transition 2003, 10, :o7, 1067130000 + tz.transition 2004, 3, :o6, 1080435600 + tz.transition 2004, 10, :o7, 1099184400 + tz.transition 2005, 3, :o6, 1111885200 + tz.transition 2005, 10, :o7, 1130634000 + tz.transition 2006, 3, :o6, 1143334800 + tz.transition 2006, 10, :o7, 1162083600 + tz.transition 2007, 3, :o6, 1174784400 + tz.transition 2007, 10, :o7, 1193533200 + tz.transition 2008, 3, :o6, 1206838800 + tz.transition 2008, 10, :o7, 1224982800 + tz.transition 2009, 3, :o6, 1238288400 + tz.transition 2009, 10, :o7, 1256432400 + tz.transition 2010, 3, :o6, 1269738000 + tz.transition 2010, 10, :o7, 1288486800 + tz.transition 2011, 3, :o6, 1301187600 + tz.transition 2011, 10, :o7, 1319936400 + tz.transition 2012, 3, :o6, 1332637200 + tz.transition 2012, 10, :o7, 1351386000 + tz.transition 2013, 3, :o6, 1364691600 + tz.transition 2013, 10, :o7, 1382835600 + tz.transition 2014, 3, :o6, 1396141200 + tz.transition 2014, 10, :o7, 1414285200 + tz.transition 2015, 3, :o6, 1427590800 + tz.transition 2015, 10, :o7, 1445734800 + tz.transition 2016, 3, :o6, 1459040400 + tz.transition 2016, 10, :o7, 1477789200 + tz.transition 2017, 3, :o6, 1490490000 + tz.transition 2017, 10, :o7, 1509238800 + tz.transition 2018, 3, :o6, 1521939600 + tz.transition 2018, 10, :o7, 1540688400 + tz.transition 2019, 3, :o6, 1553994000 + tz.transition 2019, 10, :o7, 1572138000 + tz.transition 2020, 3, :o6, 1585443600 + tz.transition 2020, 10, :o7, 1603587600 + tz.transition 2021, 3, :o6, 1616893200 + tz.transition 2021, 10, :o7, 1635642000 + tz.transition 2022, 3, :o6, 1648342800 + tz.transition 2022, 10, :o7, 1667091600 + tz.transition 2023, 3, :o6, 1679792400 + tz.transition 2023, 10, :o7, 1698541200 + tz.transition 2024, 3, :o6, 1711846800 + tz.transition 2024, 10, :o7, 1729990800 + tz.transition 2025, 3, :o6, 1743296400 + tz.transition 2025, 10, :o7, 1761440400 + tz.transition 2026, 3, :o6, 1774746000 + tz.transition 2026, 10, :o7, 1792890000 + tz.transition 2027, 3, :o6, 1806195600 + tz.transition 2027, 10, :o7, 1824944400 + tz.transition 2028, 3, :o6, 1837645200 + tz.transition 2028, 10, :o7, 1856394000 + tz.transition 2029, 3, :o6, 1869094800 + tz.transition 2029, 10, :o7, 1887843600 + tz.transition 2030, 3, :o6, 1901149200 + tz.transition 2030, 10, :o7, 1919293200 + tz.transition 2031, 3, :o6, 1932598800 + tz.transition 2031, 10, :o7, 1950742800 + tz.transition 2032, 3, :o6, 1964048400 + tz.transition 2032, 10, :o7, 1982797200 + tz.transition 2033, 3, :o6, 1995498000 + tz.transition 2033, 10, :o7, 2014246800 + tz.transition 2034, 3, :o6, 2026947600 + tz.transition 2034, 10, :o7, 2045696400 + tz.transition 2035, 3, :o6, 2058397200 + tz.transition 2035, 10, :o7, 2077146000 + tz.transition 2036, 3, :o6, 2090451600 + tz.transition 2036, 10, :o7, 2108595600 + tz.transition 2037, 3, :o6, 2121901200 + tz.transition 2037, 10, :o7, 2140045200 + tz.transition 2038, 3, :o6, 2153350800, 59172253, 24 + tz.transition 2038, 10, :o7, 2172099600, 59177461, 24 + tz.transition 2039, 3, :o6, 2184800400, 59180989, 24 + tz.transition 2039, 10, :o7, 2203549200, 59186197, 24 + tz.transition 2040, 3, :o6, 2216250000, 59189725, 24 + tz.transition 2040, 10, :o7, 2234998800, 59194933, 24 + tz.transition 2041, 3, :o6, 2248304400, 59198629, 24 + tz.transition 2041, 10, :o7, 2266448400, 59203669, 24 + tz.transition 2042, 3, :o6, 2279754000, 59207365, 24 + tz.transition 2042, 10, :o7, 2297898000, 59212405, 24 + tz.transition 2043, 3, :o6, 2311203600, 59216101, 24 + tz.transition 2043, 10, :o7, 2329347600, 59221141, 24 + tz.transition 2044, 3, :o6, 2342653200, 59224837, 24 + tz.transition 2044, 10, :o7, 2361402000, 59230045, 24 + tz.transition 2045, 3, :o6, 2374102800, 59233573, 24 + tz.transition 2045, 10, :o7, 2392851600, 59238781, 24 + tz.transition 2046, 3, :o6, 2405552400, 59242309, 24 + tz.transition 2046, 10, :o7, 2424301200, 59247517, 24 + tz.transition 2047, 3, :o6, 2437606800, 59251213, 24 + tz.transition 2047, 10, :o7, 2455750800, 59256253, 24 + tz.transition 2048, 3, :o6, 2469056400, 59259949, 24 + tz.transition 2048, 10, :o7, 2487200400, 59264989, 24 + tz.transition 2049, 3, :o6, 2500506000, 59268685, 24 + tz.transition 2049, 10, :o7, 2519254800, 59273893, 24 + tz.transition 2050, 3, :o6, 2531955600, 59277421, 24 + tz.transition 2050, 10, :o7, 2550704400, 59282629, 24 + tz.transition 2051, 3, :o6, 2563405200, 59286157, 24 + tz.transition 2051, 10, :o7, 2582154000, 59291365, 24 + tz.transition 2052, 3, :o6, 2595459600, 59295061, 24 + tz.transition 2052, 10, :o7, 2613603600, 59300101, 24 + tz.transition 2053, 3, :o6, 2626909200, 59303797, 24 + tz.transition 2053, 10, :o7, 2645053200, 59308837, 24 + tz.transition 2054, 3, :o6, 2658358800, 59312533, 24 + tz.transition 2054, 10, :o7, 2676502800, 59317573, 24 + tz.transition 2055, 3, :o6, 2689808400, 59321269, 24 + tz.transition 2055, 10, :o7, 2708557200, 59326477, 24 + tz.transition 2056, 3, :o6, 2721258000, 59330005, 24 + tz.transition 2056, 10, :o7, 2740006800, 59335213, 24 + tz.transition 2057, 3, :o6, 2752707600, 59338741, 24 + tz.transition 2057, 10, :o7, 2771456400, 59343949, 24 + tz.transition 2058, 3, :o6, 2784762000, 59347645, 24 + tz.transition 2058, 10, :o7, 2802906000, 59352685, 24 + tz.transition 2059, 3, :o6, 2816211600, 59356381, 24 + tz.transition 2059, 10, :o7, 2834355600, 59361421, 24 + tz.transition 2060, 3, :o6, 2847661200, 59365117, 24 + tz.transition 2060, 10, :o7, 2866410000, 59370325, 24 + tz.transition 2061, 3, :o6, 2879110800, 59373853, 24 + tz.transition 2061, 10, :o7, 2897859600, 59379061, 24 + tz.transition 2062, 3, :o6, 2910560400, 59382589, 24 + tz.transition 2062, 10, :o7, 2929309200, 59387797, 24 + tz.transition 2063, 3, :o6, 2942010000, 59391325, 24 + tz.transition 2063, 10, :o7, 2960758800, 59396533, 24 + tz.transition 2064, 3, :o6, 2974064400, 59400229, 24 + tz.transition 2064, 10, :o7, 2992208400, 59405269, 24 + tz.transition 2065, 3, :o6, 3005514000, 59408965, 24 + tz.transition 2065, 10, :o7, 3023658000, 59414005, 24 + tz.transition 2066, 3, :o6, 3036963600, 59417701, 24 + tz.transition 2066, 10, :o7, 3055712400, 59422909, 24 + tz.transition 2067, 3, :o6, 3068413200, 59426437, 24 + tz.transition 2067, 10, :o7, 3087162000, 59431645, 24 + tz.transition 2068, 3, :o6, 3099862800, 59435173, 24 end end end diff --git a/lib/tzinfo/data/definitions/Europe/Prague.rb b/lib/tzinfo/data/definitions/Europe/Prague.rb index 9a00713f..98b10f3d 100644 --- a/lib/tzinfo/data/definitions/Europe/Prague.rb +++ b/lib/tzinfo/data/definitions/Europe/Prague.rb @@ -15,6 +15,7 @@ module Prague tz.offset :o1, 3464, 0, :PMT tz.offset :o2, 3600, 0, :CET tz.offset :o3, 3600, 3600, :CEST + tz.offset :o4, 3600, -3600, :GMT tz.transition 1849, 12, :o1, -3786829064, 25884991367, 10800 tz.transition 1891, 9, :o2, -2469401864, 26049669767, 10800 @@ -29,11 +30,13 @@ module Prague 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, -798073200, 58352413, 24 - tz.transition 1945, 4, :o3, -780534000, 58357285, 24 - tz.transition 1945, 11, :o2, -761180400, 58362661, 24 + tz.transition 1944, 10, :o2, -796777200, 58352773, 24 + tz.transition 1945, 4, :o3, -781052400, 58357141, 24 + tz.transition 1945, 10, :o2, -765327600, 58361509, 24 tz.transition 1946, 5, :o3, -746578800, 58366717, 24 tz.transition 1946, 10, :o2, -733359600, 58370389, 24 + tz.transition 1946, 12, :o4, -728517600, 29185867, 12 + tz.transition 1947, 2, :o2, -721260000, 29186875, 12 tz.transition 1947, 4, :o3, -716425200, 58375093, 24 tz.transition 1947, 10, :o2, -701910000, 58379125, 24 tz.transition 1948, 4, :o3, -684975600, 58383829, 24 diff --git a/lib/tzinfo/data/version.rb b/lib/tzinfo/data/version.rb index 791e3c88..348b29a5 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.2018.4' + VERSION = '1.2018.5' # 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 = '2018d' + TZDATA = '2018e' end end end