Hello community, here is the log from the commit of package timezone for openSUSE:Factory checked in at 2016-06-29 09:41:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/timezone (Old) and /work/SRC/openSUSE:Factory/.timezone.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "timezone" Changes: -------- --- /work/SRC/openSUSE:Factory/timezone/timezone-java.changes 2016-04-28 16:49:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.timezone.new/timezone-java.changes 2016-06-29 09:41:53.000000000 +0200 @@ -1,0 +2,13 @@ +Tue Jun 14 21:04:16 UTC 2016 - [email protected] + +- timezone update 2016e: + * Africa/Cairo observes DST in 2016 from July 7 to the end of + October (boo#982833) + * Changes affecting past timestamps in arctic and antarctic + locations while uninhabited + * Adjust Asia/Baku's 1992 DST transition + * zic now outputs a dummy transition at time 2**31 - 1 in zones + whose POSIX-style TZ strings contain a '<', working around Qt + bug 53071 + +------------------------------------------------------------------- timezone.changes: same change Old: ---- tzcode2016d.tar.gz tzcode2016d.tar.gz.asc tzdata2016d.tar.gz tzdata2016d.tar.gz.asc New: ---- tzcode2016e.tar.gz tzcode2016e.tar.gz.asc tzdata2016e.tar.gz tzdata2016e.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ timezone-java.spec ++++++ --- /var/tmp/diff_new_pack.94Ijno/_old 2016-06-29 09:41:54.000000000 +0200 +++ /var/tmp/diff_new_pack.94Ijno/_new 2016-06-29 09:41:54.000000000 +0200 @@ -25,7 +25,7 @@ Group: System/Base # COMMON-BEGIN # COMMON-BEGIN -Version: 2016d +Version: 2016e Release: 0 Source: ftp://ftp.iana.org/tz/releases/tzdata%{version}.tar.gz Source1: ftp://ftp.iana.org/tz/releases/tzcode%{version}.tar.gz ++++++ timezone.spec ++++++ --- /var/tmp/diff_new_pack.94Ijno/_old 2016-06-29 09:41:54.000000000 +0200 +++ /var/tmp/diff_new_pack.94Ijno/_new 2016-06-29 09:41:54.000000000 +0200 @@ -23,7 +23,7 @@ Url: http://www.iana.org/time-zones PreReq: filesystem, coreutils # COMMON-BEGIN -Version: 2016d +Version: 2016e Release: 0 Source: ftp://ftp.iana.org/tz/releases/tzdata%{version}.tar.gz Source1: ftp://ftp.iana.org/tz/releases/tzcode%{version}.tar.gz ++++++ tzcode2016d.tar.gz -> tzcode2016e.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Makefile new/Makefile --- old/Makefile 2016-04-18 07:51:57.000000000 +0200 +++ new/Makefile 2016-06-14 17:47:43.000000000 +0200 @@ -5,7 +5,7 @@ PACKAGE= tzcode # Version numbers of the code and data distributions. -VERSION= 2016d +VERSION= 2016e # Email address for bug reports. BUGEMAIL= [email protected] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NEWS new/NEWS --- old/NEWS 2016-04-18 07:51:57.000000000 +0200 +++ new/NEWS 2016-06-14 17:47:43.000000000 +0200 @@ -1,5 +1,41 @@ News for the tz database +Release 2016e - 2016-06-14 08:46:16 -0700 + + Changes affecting future time stamps + + Africa/Cairo observes DST in 2016 from July 7 to the end of October. + Guess October 27 and 24:00 transitions. (Thanks to Steffen Thorsen.) + For future years, guess April's last Thursday to October's last + Thursday except for Ramadan. + + Changes affecting past time stamps + + Locations while uninhabited now use '-00', not 'zzz', as a + placeholder time zone abbreviation. This is inspired by Internet + RFC 3339 and is more consistent with numeric time zone + abbreviations already used elsewhere. The change affects several + arctic and antarctic locations, e.g., America/Cambridge_Bay before + 1920 and Antarctica/Troll before 2005. + + Asia/Baku's 1992-09-27 transition from +04 (DST) to +04 (non-DST) was + at 03:00, not 23:00 the previous day. (Thanks to Michael Deckers.) + + Changes to code + + zic now outputs a dummy transition at time 2**31 - 1 in zones + whose POSIX-style TZ strings contain a '<'. This mostly works + around Qt bug 53071 <https://bugreports.qt.io/browse/QTBUG-53071>. + (Thanks to Zhanibek Adilbekov for reporting the Qt bug.) + + Changes affecting documentation and commentary + + tz-link.htm says why governments should give plenty of notice for + time zone or DST changes, and refers to Matt Johnson's blog post. + + tz-link.htm mentions Tzdata for Elixir. (Thanks to Matt Johnson.) + + Release 2016d - 2016-04-17 22:50:29 -0700 Changes affecting future time stamps diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Theory new/Theory --- old/Theory 2016-02-14 21:36:54.000000000 +0100 +++ new/Theory 2016-05-29 23:37:31.000000000 +0200 @@ -227,9 +227,10 @@ name identifying each zone and append 'T', 'ST', etc. as before; e.g. 'VLAST' for VLAdivostok Summer Time. - Use UT (with time zone abbreviation 'zzz') for locations while - uninhabited. The 'zzz' mnemonic is that these locations are, - in some sense, asleep. + Use UT (with time zone abbreviation '-00') for locations while + uninhabited. The leading '-' is a flag that the time + zone is in some sense undefined; this notation is + derived from Internet RFC 3339. Application writers should note that these abbreviations are ambiguous in practice: e.g. 'CST' has a different meaning in China than diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tz-art.htm new/tz-art.htm --- old/tz-art.htm 2016-03-15 01:49:25.000000000 +0100 +++ new/tz-art.htm 2016-06-09 18:23:31.000000000 +0200 @@ -8,16 +8,23 @@ </head> <body> <h1>Time and the Arts</h1> -<p> -This file is in the public domain, so clarified as of -2009-05-17 by Arthur David Olson. -</p> -<p> -Please send corrections to this web page to the -<a href="mailto:[email protected]">time zone mailing list</a>.</p> -<p> -See also <a href="tz-link.htm">Sources for Time Zone and Daylight Saving Time Data</a>.</p> -<hr> +<h2>Documentaries</h2> +<ul> +<li> +"<a href="https://www.youtube.com/watch?v=84aWtseb2-4">Daylight +Saving Time Explained</a>" (2011; 6:39) lightly covers daylight saving +time's theory, history, pros and cons. Among other things, it explains +Arizona's daylight-saving enclaves quite well.</li> +<li> +"<a href="https://www.youtube.com/watch?v=-5wpm-gesOY">The Problem +with Time & Timezones – Computerphile</a>" (2013; 10:12) delves +into problems that programmers have with timekeeping.</li> +<li> +"About Time" (1962; 53 minutes) is part of the the +Bell Science extravaganza, with Frank Baxter, Richard Deacon, and Les Tremayne. +(<a href="http://www.imdb.com/title/tt0154110/">IMDb entry</a>.)</li> +</ul> +<h2>Music</h2> <p> Data on recordings of "Save That Time," Russ Long, Serrob Publishing, BMI:</p> <table> @@ -246,8 +253,80 @@ <tr><td><a href="http://www.allmusic.com/album/youre-getting-better-the-word-jazz-dot-masters-mw0000736197">AMG Rating</a></td><td>4.5 stars</td></tr> <tr><td>Notes</td><td>Includes the piece "What Time Is It" ("He knew what time it was everywhere...that counted").</td></tr> -<tr><td> </td></tr> +</table> + +<h2>TV episodes</h2> +<ul> +<li> +An episode of <em>The Adventures of Superman</em> entitled "The Mysterious +Cube," first aired 1958-02-24, had Superman convincing the controllers +of the Arlington Time Signal to broadcast ahead of actual time; +doing so got a crook trying to be declared dead to +emerge a bit too early from the titular enclosure. +</li> +<li> +The 1960s ITC television series <em>The Prisoner</em> included an episode +entitled "The Chimes of Big Ben" in which our protagonist tumbled to +the fraudulent nature of a Poland-to-England escape upon hearing "Big +Ben" chiming on Polish local time. +</li> +<li> +The series <em>Seinfeld</em> included an episode entitled "The Susie," first +broadcast 1997-02-13, in which Kramer decides that daylight saving time +isn't coming fast enough, so he sets his watch ahead an hour. +</li> +<li> +The "20 Hours in America" episode of <em>The West Wing</em>, +first aired 2002-09-25, +saw White House staffers stranded in Indiana; they thought they had time to +catch Air Force One but were done in by intra-Indiana local time changes. +</li> +<li> +"In what time zone would you find New York City?" was a $200 question on +the 1999-11-13 United States airing of <em>Who Wants to Be a Millionaire?</em>, +and "In 1883, what industry led the movement to divide the U.S. into four time +zones?" was a $32,000 question on the 2001-05-23 United States airing of +the same show. At this rate, the million-dollar time-zone +question should have been asked 2002-06-04. +</li> +<li> +A private jet's mid-flight change of time zones distorts Alison Dubois' +premonition in the "We Had a Dream" episode of <em>Medium</em> +(originally aired 2007-02-28). +</li> +<li> +In the <em>30 Rock</em> episode "Anna Howard Shaw Day" +(first broadcast 2010-02-11), +Jack Donaghy's date realizes that a Geneva-to-New-York business phone call +received in the evening must be fake given the difference in local times. +</li> +<li> +In the "Run by the Monkeys" episode of <em>Da Vinci's Inquest</em> +(first broadcast 2002-11-17), +a witness in a five-year-old fire case realizes they may not have set +their clock back when daylight saving ended on the day of the fire, +introducing the possibility of an hour when arson might have occurred. +</li> +<li> +In "The Todd Couple" episode of <em>Outsourced</em> (first aired 2011-02-10), +Manmeet sets up Valentine's Day teledates for 6:00 and 9:00pm; +since one is with a New Yorker and the other with a San Franciscan, +hilarity ensues. +(Never mind that this should be 7:30am in Mumbai, yet for some reason the show +proceeds as though it's also mid-evening there.) +</li> +<li> +In the "14 Days to Go"/"T Minus..." episode of +<em>You, Me and the Apocalypse</em> +(first aired 2015-11-11 in the UK, 2016-03-10 in the US), +the success of a mission to deal with a comet +hinges on whether or not Russia observes daylight saving time. +(In the US, the episode first aired in the week before the switch to DST.) +</li> +</ul> + +<table> <tr><td>TV episode title</td><td>The Lost Hour</td> <tr><td>TV series</td><td><em>Eerie, Indiana</em></td> <tr><td>TV episode number</td><td>10</td> @@ -281,8 +360,11 @@ <tr><td>Air date</td><td>2016-01-17</td></tr> <tr><td>Notes</td><td>The applicability of a contract hinges on the time zone associated with a video time stamp.</td></tr> -<tr><td> </td></tr> +</table> +<h2>Books, plays, and magazines</h2> + +<table> <tr><td>Artist</td><td>Jules Verne</td></tr> <tr><td>Book</td><td><em>Around the World in Eighty Days</em> (<em>Le tour du monde en quatre-vingts jours</em>)</td></tr> @@ -324,49 +406,10 @@ <tr><td>Notes</td><td> Mystery, history, daylight saving time, and old-time radio. </td></tr> -<tr><td> </td></tr> -<tr><td>Film</td><td><em>About Time</em></td></tr> -<tr><td>Copyright Date</td><td>1962</td></tr> -<tr><td>Notes</td><td>The Bell Science extravaganza, with Frank Baxter, -Richard Deacon, and Les Tremayne. -<a href="http://www.imdb.com/title/tt0154110/">Information</a> -is available at IMDb.</td></tr> </table> <hr> <ul> <li> -An episode of <em>The Adventures of Superman</em> entitled "The Mysterious -Cube," first aired 1958-02-24, had Superman convincing the controllers -of the Arlington Time Signal to broadcast ahead of actual time; -doing so got a crook trying to be declared dead to -emerge a bit too early from the titular enclosure. -</li> -<li> -The 1960s ITC television series <em>The Prisoner</em> included an episode -entitled "The Chimes of Big Ben" in which our protagonist tumbled to -the fraudulent nature of a Poland-to-England escape upon hearing "Big -Ben" chiming on Polish local time. -</li> -<li> -The series <em>Seinfeld</em> included an episode entitled "The Susie," first -broadcast 1997-02-13, in which Kramer decides that daylight saving time -isn't coming fast enough, so he sets his watch ahead an hour. -</li> -<li> -The syndicated comic strip <em>Dilbert</em> featured an -<a href='http://dilbert.com/strip/1998-03-14'>all-too-rare example of -time zone humor</a> on 1998-03-14. -</li> -<li> -The webcomic <em>xkcd</em> has the strip -"<a href='http://xkcd.com/673/'>The Sun</a>" (2009-12-09) and the panels -"<a href='http://xkcd.com/1017/'>Backward in Time</a>" (2012-02-14), -"<a href='http://xkcd.com/1061/'>EST</a>" (2012-05-28), and -"<a href='http://xkcd.com/1335/'>Now</a>" (2014-02-26), and -"<a href='http://xkcd.com/1655/'>Doomsday Clock</a>" (2016-03-14). -The related book <em>What If?</em> has an entry -"<a href='http://what-if.xkcd.com/26/'>Leap Seconds</a>" (2012-12-31). -<li> Surrealist artist Guy Billout's work "Date Line" appeared on page 103 of the 1999-11 <em>Atlantic Monthly</em>. </li> @@ -375,31 +418,9 @@ magazine's 2002-11-11 issue; among other things, it proposed year-round DST as a way of lessening wintertime despair. </li> -<li> -The "20 Hours in America" episode of <em>The West Wing</em>, -first aired 2002-09-25, -saw White House staffers stranded in Indiana; they thought they had time to -catch Air Force One but were done in by intra-Indiana local time changes. -</li> -<li> -"In what time zone would you find New York City?" was a $200 question on -the 1999-11-13 United States airing of <em>Who Wants to Be a Millionaire?</em>, -and "In 1883, what industry led the movement to divide the U.S. into four time -zones?" was a $32,000 question on the 2001-05-23 United States airing of -the same show. At this rate, the million-dollar time-zone -question should have been asked 2002-06-04. -</li> -<li> -A private jet's mid-flight change of time zones distorts Alison Dubois' -premonition in the "We Had a Dream" episode of <em>Medium</em> -(originally aired 2007-02-28). -</li> -<li> -In the <em>30 Rock</em> episode "Anna Howard Shaw Day" -(first broadcast 2010-02-11), -Jack Donaghy's date realizes that a Geneva-to-New-York business phone call -received in the evening must be fake given the difference in local times. -</li> +</ul> +<h2>Movies</h2> +<ul> <li> In the 1946 movie <em>A Matter of Life and Death</em> (U.S. title <em>Stairway to Heaven</em>) @@ -437,30 +458,38 @@ </a>. (Mark Brader, 2009-10-02) </li> <li> -In the "Run by the Monkeys" episode of <em>Da Vinci's Inquest</em> -(first broadcast 2002-11-17), -a witness in a five-year-old fire case realizes they may not have set -their clock back when daylight saving ended on the day of the fire, -introducing the possibility of an hour when arson might have occurred. +One mustn't forget the +<a href="https://www.youtube.com/watch?v=k4EUTMPuvHo">trailer</a> +(2014; 2:23) for the movie <em>Daylight Saving</em>. </li> +</ul> +<h2>Comics</h2> +<ul> <li> -In "The Todd Couple" episode of <em>Outsourced</em> (first aired 2011-02-10), -Manmeet sets up Valentine's Day teledates for 6:00 and 9:00pm; -since one is with a New Yorker and the other with a San Franciscan, -hilarity ensues. -(Never mind that this should be 7:30am in Mumbai, yet for some reason the show -proceeds as though it's also mid-evening there.) +The webcomic <em>xkcd</em> has the strip +"<a href='http://xkcd.com/673/'>The Sun</a>" (2009-12-09) and the panels +"<a href='http://xkcd.com/1017/'>Backward in Time</a>" (2012-02-14), +"<a href='http://xkcd.com/1061/'>EST</a>" (2012-05-28), and +"<a href='http://xkcd.com/1335/'>Now</a>" (2014-02-26), and +"<a href='http://xkcd.com/1655/'>Doomsday Clock</a>" (2016-03-14). +The related book <em>What If?</em> has an entry +"<a href='http://what-if.xkcd.com/26/'>Leap Seconds</a>" (2012-12-31). </li> <li> -In the "14 Days to Go"/"T Minus..." episode of -<em>You, Me and the Apocalypse</em> -(first aired 2015-11-11 in the UK, 2016-03-10 in the US), -the success of a mission to deal with a comet -hinges on whether or not Russia observes daylight saving time. -(In the US, the episode first aired in the week before the switch to DST.) +The syndicated comic strip <em>Dilbert</em> featured an +<a href='http://dilbert.com/strip/1998-03-14'>example of +time zone humor</a> on 1998-03-14. +</li> +<li> +Peppermint Patty: "What if the world comes to an end tonight, Marcie?" +<br> +Marcie: "I promise there'll be a tomorrow, sir ... in fact, +it's already tomorrow in Australia!" +<br> +(Charles M. Schulz, <a href='http://www.gocomics.com/peanuts/1980/06/13'><em>Peanuts</em>, 1980-06-13</a>) </li> </ul> -<hr> +<h2>Jokes</h2> <ul> <li> "We've been using the five-cent nickel in this country since 1492. @@ -469,12 +498,12 @@ as noted by Will Fitzgerald) </li> <li> -Brady: "...[Bishop Usher] determined that the Lord began the Creation -on the 23rd of October in the Year 4004 B.C. at – uh, at 9 A.M.!" +BRADY. ...[Bishop Usher] determined that the Lord began the Creation +on the 23rd of October in the Year 4,004 B.C. at – uh, 9 A.M.! <br> -Drummond: "That Eastern Standard Time? (Laughter) Or Rocky Mountain -Time? (More laughter) It wasn't daylight-saving time, was it? Because -the Lord didn't make the sun until the fourth day!" +DRUMMOND. That Eastern Standard Time? (<em>Laughter.</em>) Or Rocky Mountain +Time? (<em>More laughter.</em>) It wasn't daylight-saving time, was it? Because +the Lord didn't make the sun until the fourth day! <br> (From the play <em>Inherit the Wind</em> by Jerome Lawrence and Robert E. Lee, filmed in 1960 with Spencer Tracy as Drummond and Fredric March as @@ -527,14 +556,19 @@ but maybe in your time zone I haven't finished yet. So stay tuned!" (Goldie Hawn, <em>Rowan & Martin's Laugh-In</em> No. 65, 1970-03-09) </li> -<li> -Peppermint Patty: "What if the world comes to an end tonight, Marcie?" -<br> -Marcie: "I promise there'll be a tomorrow, sir ... in fact, -it's already tomorrow in Australia!" -<br> -(Charles M. Schulz, <a href='http://www.gocomics.com/peanuts/1980/06/13'><em>Peanuts</em>, 1980-06-13</a>) -</li> </ul> +<h2>See also</h2> +<ul> +<li><a href="tz-link.htm">Sources for Time Zone and Daylight Saving +Time Data</a></li> +</ul> +<hr> +<address> +This web page is in the public domain, so clarified as of +2009-05-17 by Arthur David Olson. +<br> +Please send corrections to this web page to the +<a href="mailto:[email protected]">time zone mailing list</a>. +</address> </body> </html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tz-how-to.html new/tz-how-to.html --- old/tz-how-to.html 2016-03-01 06:00:44.000000000 +0100 +++ new/tz-how-to.html 2016-05-29 23:48:38.000000000 +0200 @@ -466,13 +466,11 @@ 10:30 + 1:00 = GMT − 9:30.</p> <p>The <code>FORMAT</code> column specifies the usual abbreviation of -the time zone name. It can have one of four forms:</p> +the time zone name. It can have one of three forms:</p> <ul> -<li>the string, “<code>zzz</code>,” which is a kind of -null value (don’t ask)</li> - -<li>a single alphabetic string other than “<code>zzz</code>,” +<li>a string of three or more characters that are either ASCII alphanumerics, +“<code>+</code>”, or “<code>-</code>”, in which case that’s the abbreviation</li> <li>a pair of strings separated by a slash @@ -513,7 +511,7 @@ </ul> -<p>And two last things about the <code>FORMAT</code> column:</p> +<p>And three last things about the <code>FORMAT</code> column:</p> <ul> <li>The <a href="https://en.wikipedia.org/wiki/Tz_database">tz @@ -535,6 +533,12 @@ <a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html"><code>strftime</code></a> function in the <a href="http://www.chemie.fu-berlin.de/chemnet/use/info/libc/libc_19.html#SEC324">“C” locale</a>. + +<li>If there is no generally-accepted abbreviation for a time zone, +a numeric offset is used instead, e.g., <code>+07</code> for 7 hours +ahead of Greenwich. By convention, <code>-00</code> is used in a +zone while uninhabited, where the offset is zero but in some sense +the true offset is undefined. </ul> <p>As a final example, here’s the complete history for Hawaii:</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tz-link.htm new/tz-link.htm --- old/tz-link.htm 2016-04-02 02:52:34.000000000 +0200 +++ new/tz-link.htm 2016-06-14 17:44:32.000000000 +0200 @@ -10,7 +10,7 @@ content="Sources for time zone and daylight saving time data"> <meta name="DC.Creator" content="Eggert, Paul"> <meta name="DC.Contributor" content="Olson, Arthur David"> -<meta name="DC.Date" content="2016-02-29"> +<meta name="DC.Date" content="2016-06-14"> <meta name="DC.Description" content="Sources of information about time zones and daylight saving time"> <meta name="DC.Identifier" @@ -20,6 +20,13 @@ </head> <body> <h1>Sources for time zone and daylight saving time data</h1> +<p> +Time zone and daylight saving rules are controlled by individual +governments. They are sometimes changed with little notice, and their +histories and planned futures are often recorded only fitfully. Here +is a summary of attempts to organize and record relevant data in this +area. +</p> <h2>The <code><abbr title="time zone">tz</abbr></code> database</h2> <p> The <a href="https://en.wikipedia.org/wiki/Public_domain">public-domain</a> @@ -39,13 +46,14 @@ <abbr title="GNU's Not Unix">GNU</abbr> C Library</a> (used in <a href="https://en.wikipedia.org/wiki/Linux"><abbr>GNU</abbr>/Linux</a>), -<a href="http://www.android.com">Android</a>, -<a href="https://developer.mozilla.org/en-US/Firefox_OS">Firefox +<a href="https://www.android.com">Android</a>, +<a href="https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS">B2G <abbr title="Operating System">OS</abbr></a>, <a href="https://www.freebsd.org">Free<abbr title="Berkeley Software Distribution">BSD</abbr></a>, <a href="http://netbsd.org">Net<abbr>BSD</abbr></a>, <a href="http://www.openbsd.org">Open<abbr>BSD</abbr></a>, +<a href="http://www.chromium.org/chromium-os">Chromium OS</a>, <a href="https://cygwin.com">Cygwin</a>, <a href="http://www.delorie.com/djgpp/"><abbr title="DJ's GNU Programming Platform">DJGPP</abbr></a>, @@ -58,7 +66,7 @@ <a href="http://www.apple.com/ios/"><abbr title="iPhone OS">iOS</abbr></a>, <a href="http://windows.microsoft.com">Microsoft Windows</a>, -<a href="http://www8.hp.com/us/en/products/servers/openvms/overview.html">Open<abbr +<a href="http://www.hp.com/go/openvms/">Open<abbr title="Virtual Memory System">VMS</abbr></a>, <a href="https://www.oracle.com/database/index.html">Oracle Database</a>, <a href="http://oracle.com/solaris">Oracle Solaris</a>, and @@ -140,8 +148,10 @@ machine-readable binary files, one for each location. It also lets you read a <code><abbr>tz</abbr></code> binary file and interpret time stamps for that location.</p> +<h2>Changes to the <code><abbr>tz</abbr></code> database</h2> <p> -The files are by no means authoritative. If you find errors, please +The <code><abbr>tz</abbr></code> code and data +are by no means authoritative. If you find errors, please send changes to the <a href="mailto:[email protected]">time zone mailing list</a>. You can also <a href="http://news.gmane.org/gmane.comp.time.tz">browse recent @@ -149,28 +159,15 @@ href="https://mm.icann.org/mailman/listinfo/tz">subscribe</a> to it, and browse the <a href="http://mm.icann.org/pipermail/tz/">archive of old -messages</a>. For further information about updates, please see -<a href="http://tools.ietf.org/html/rfc6557">Procedures for -Maintaining the Time Zone Database</a> (Internet <abbr -title="Request For Comments">RFC</abbr> 6557).</p> +messages</a>.</p> <p> -The Web has several other sources for time zone and daylight saving time data. -Here are some links that may be of interest. +If your government plans to change its time zone boundaries or +daylight saving rules, let the mailing list know well in advance. With +less than a year's notice there is a good chance that some +computer-based clocks will operate incorrectly after the change, due +to delays in propagating updates to software and data. The shorter +the notice, the more likely clock problems will arise. </p> -<h2>Commentary on the <code><abbr>tz</abbr></code> database</h2> -<ul> -<li>The article -<a href="https://en.wikipedia.org/wiki/Tz_database">tz database</a> is -an encyclopedic summary.</li> -<li><a href="tz-how-to.html">How to Read the -tz Database Source Files</a> explains the <code><abbr>tz</abbr></code> -database format.</li> -<li><a -href="http://blog.jonudell.net/2009/10/23/a-literary-appreciation-of-the-olsonzoneinfotz-database/">A -literary appreciation of the Olson/Zoneinfo/tz database</a> comments on the -database's style.</li> -</ul> -<h2>Editing <code><abbr>tz</abbr></code> database source files</h2> <p>Sources for the <code><abbr>tz</abbr></code> database are <a href="https://en.wikipedia.org/wiki/UTF-8"><abbr title="Unicode Transformation Format 8-bit">UTF-8</abbr></a> @@ -180,14 +177,37 @@ which can be modified by common text editors such as <a href="https://www.gnu.org/software/emacs/">GNU Emacs</a>, <a href="https://wiki.gnome.org/Apps/Gedit">gedit</a>, and -<a href="http://www.vim.org/">vim</a>. One +<a href="http://www.vim.org">vim</a>. One editor has a package to simplify editing further:</p> <ul> <li><a href="https://packagecontrol.io/packages/zoneinfo">Sublime -zoneinfo</a> is a <a href="http://www.sublimetext.com/">Sublime +zoneinfo</a> is a <a href="http://www.sublimetext.com">Sublime Text</a> package for syntax highlighting <code><abbr>tz</abbr></code> source files.</li> </ul> +<p> +For further information about updates, please see +<a href="https://tools.ietf.org/html/rfc6557">Procedures for +Maintaining the Time Zone Database</a> (Internet <abbr +title="Request For Comments">RFC</abbr> 6557).</p> +<h2>Commentary on the <code><abbr>tz</abbr></code> database</h2> +<ul> +<li>The article +<a href="https://en.wikipedia.org/wiki/Tz_database">tz database</a> is +an encyclopedic summary.</li> +<li><a href="tz-how-to.html">How to Read the +tz Database Source Files</a> explains the <code><abbr>tz</abbr></code> +database format.</li> +<li><a +href="http://codeofmatt.com/2016/04/23/on-the-timing-of-time-zone-changes/">On +the Timing of Time Zone Changes</a> gives examples of problems caused +by inadequate notice by governments of time zone and daylight saving +rule changes.</li> +<li><a +href="http://blog.jonudell.net/2009/10/23/a-literary-appreciation-of-the-olsonzoneinfotz-database/">A +literary appreciation of the Olson/Zoneinfo/tz database</a> comments on the +database's style.</li> +</ul> <h2>Web sites using recent versions of the <code><abbr>tz</abbr></code> database</h2> <p> These are listed roughly in ascending order of complexity and fanciness. @@ -195,7 +215,7 @@ <ul> <li><a href="http://time.is">Time.is</a> shows locations' time and zones in a simple format.</li> -<li><a href="https://www.timejones.com/">TimeJones.com</a> is a simple +<li><a href="https://www.timejones.com">TimeJones.com</a> is a simple time zone converter.</li> <li><a href="http://twiki.org/cgi-bin/xtra/tzdatepick.html">Date and Time Gateway</a> @@ -214,36 +234,36 @@ calculates the current time difference between locations.</li> <li><a href="http://www.wx-now.com">Weather Now</a> lists the weather too.</li> <li><a href="http://www.thetimenow.com">The Time Now</a> also lists weather.</li> -<li><a href="http://worldtime.io">worldtime.io</a> +<li><a href="https://worldtime.io">worldtime.io</a> also contains data about time zone boundaries; it supports queries via place names and shows location maps.</li> </ul> <h2>Network protocols for <code><abbr>tz</abbr></code> data</h2> <ul> <li>The <a href="http://www.ietf.org">Internet Engineering Task Force</a>'s -<a href="http://datatracker.ietf.org/wg/tzdist/charter/">Time Zone Data -Distribution Service (tzdist) working group</a> has defined <a -href="http://tools.ietf.org/html/rfc7808">TZDIST</a> +<a href="https://datatracker.ietf.org/wg/tzdist/charter/">Time Zone Data +Distribution Service (tzdist) working group</a> defined <a +href="https://tools.ietf.org/html/rfc7808">TZDIST</a> (Internet <abbr>RFC</abbr> 7808), a time zone data distribution service, -along with a <a href="http://tools.ietf.org/html/rfc7809">calendar access +along with a <a href="https://tools.ietf.org/html/rfc7809">calendar access protocol for transferring time zone data by reference</a> -(Internet <abbr>RFC</abbr> 7809). This work is based +(Internet <abbr>RFC</abbr> 7809). This work was based on the iCalendar and CalConnect efforts described below.</li> -<li>The <a href="http://tools.ietf.org/html/rfc5545"> +<li>The <a href="https://tools.ietf.org/html/rfc5545"> Internet Calendaring and Scheduling Core Object Specification (iCalendar)</a> (Internet <abbr>RFC</abbr> 5445) covers time zone data; see its VTIMEZONE calendar component. The iCalendar format requires specialized parsers and generators; a -variant <a href="http://tools.ietf.org/html/rfc6321">xCal</a> +variant <a href="https://tools.ietf.org/html/rfc6321">xCal</a> (Internet <abbr>RFC</abbr> 6321) uses <a href="http://www.w3.org/XML/"><abbr title="Extensible Markup Language">XML</abbr></a> format, and a variant -<a href="http://tools.ietf.org/html/rfc7265">jCal</a> +<a href="https://tools.ietf.org/html/rfc7265">jCal</a> (Internet <abbr>RFC</abbr> 7265) uses <a href="http://www.json.org"><abbr title="JavaScript Object Notation">JSON</abbr></a> format. -<a href="http://calconnect.org">CalConnect, The Calendaring and Scheduling +<a href="https://www.calconnect.org">CalConnect, The Calendaring and Scheduling Consortium</a> is promoting further work in this area. <a href="http://calconnect.org/publications/icalendartimezoneproblemsandrecommendationsv1.0.pdf">iCalendar TIMEZONE Problems and Recommendations</a> offers guidelines and @@ -251,7 +271,7 @@ <li>The <a href="http://calconnect.org/publications/timezoneregistryandservicerecommendationsv1.0.pdf">Timezone Registry and Service Recommendations</a> of CalConnect's -<a href="http://calconnect.org/tc-timezone.shtml">TIMEZONE +<a href="https://www.calconnect.org/about/technical-committees/tc-timezone">TIMEZONE Technical Committee</a> discusses a strategy for defining and deploying a time zone registration process that would establish unique names for each @@ -269,7 +289,7 @@ </ul> <h2>Other <code><abbr>tz</abbr></code> compilers</h2> <ul> -<li><a href="http://sourceforge.net/projects/vzic/">Vzic</a> is a <a +<li><a href="https://sourceforge.net/projects/vzic/">Vzic</a> is a <a href="https://en.wikipedia.org/wiki/C_%28programming_language%29">C</a> program that compiles <code><abbr>tz</abbr></code> source into iCalendar-compatible VTIMEZONE files. @@ -278,21 +298,21 @@ href="http://www.gnu.org/copyleft/gpl.html"><abbr>GNU</abbr> General Public License (<abbr title="General Public License">GPL</abbr>)</a>.</li> -<li><a href="http://sourceforge.net/projects/tzical/">tziCal – tz +<li><a href="https://sourceforge.net/projects/tzical/">tziCal – tz database conversion utility</a> is like Vzic, except for the <a -href="https://msdn.microsoft.com/netframework">.NET framework</a> +href="https://www.microsoft.com/net">.NET framework</a> and with a <abbr>BSD</abbr>-style license.</li> <li><a href="http://search.cpan.org/dist/DateTime-TimeZone/">DateTime::TimeZone</a> contains a script <code>parse_olson</code> that compiles -<code><abbr>tz</abbr></code> source into <a href="http://www.perl.org">Perl</a> +<code><abbr>tz</abbr></code> source into <a href="https://www.perl.org">Perl</a> modules. It is part of the Perl <a href="http://datetime.perl.org">DateTime Project</a>, which is freely available under both the <abbr>GPL</abbr> and the Perl Artistic License. DateTime::TimeZone also contains a script <code>tests_from_zdump</code> that generates test cases for each clock transition in the <code><abbr>tz</abbr></code> database.</li> -<li>The <a href="http://howardhinnant.github.io/tz.html">Time Zone +<li>The <a href="https://howardhinnant.github.io/date/tz.html">Time Zone Database Parser</a> is a <a href="https://en.wikipedia.org/wiki/C%2B%2B">C++</a> parser and runtime library. It is freely available under the @@ -308,18 +328,24 @@ into an <abbr>ICU</abbr>-specific format. <abbr>ICU</abbr> is freely available under a <abbr>BSD</abbr>-style license.</li> +<li>The <a href="https://github.com/lau/tzdata">Tzdata</a> package for +the <a href="http://elixir-lang.org">Elixir</a> language downloads +and compiles tz source and exposes <abbr +title="Application Program Interface">API</abbr>s for use. It is +freely available under the <abbr +title="Massachusetts Institute of Technology">MIT</abbr> license.</li> <li>The <a href="http://www.oracle.com/technetwork/java/javase/tzupdater-readme-136440.html">TZUpdater tool</a> compiles <code><abbr>tz</abbr></code> source into the format used by Oracle Java.</li> <li><a href="http://www.joda.org/joda-time/">Joda-Time – Java date -and time <abbr title="Application Program Interface">API</abbr></a> -contains a class +and time <abbr>API</abbr></a> contains a class <code>org.joda.time.tz.ZoneInfoCompiler</code> that compiles <code><abbr>tz</abbr></code> source into a Joda-specific binary format. Joda Time is freely available under a <abbr>BSD</abbr>-style license.</li> -<li><a href="http://nodatime.org">Noda Time – Date and time API for -.NET</a> and <a href="http://www.babiej.demon.nl/Tz4Net/main.htm">TZ4Net</a> +<li><a href="http://nodatime.org">Noda Time – Date and +time <abbr>API</abbr> for .NET</a> +and <a href="http://www.babiej.demon.nl/Tz4Net/main.htm">TZ4Net</a> are similar to Joda Time, but for the .NET framework instead of Java. They are freely available under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License</a> @@ -329,8 +355,7 @@ <ul> <li><a href="http://momentjs.com/timezone/">Moment Timezone</a> is a plugin for the <a href="http://momentjs.com">Moment.js</a> date -manipulation library. It is freely available under -the <abbr title="Massachusetts Institute of Technology">MIT</abbr> +manipulation library. It is freely available under the <abbr>MIT</abbr> license.</li> <li><a href="https://github.com/mde/timezone-js">TimezoneJS.Date</a>'s <abbr>API</abbr> is upward compatible with standard JavaScript @@ -408,23 +433,23 @@ are not supported.</li> <li>The <a href="http://hackage.haskell.org/package/timezone-olson">timezone-olson</a> -package contains <a href="http://haskell.org">Haskell</a> code that +package contains <a href="https://www.haskell.org">Haskell</a> code that parses and uses <code><abbr>tz</abbr></code> binary data. It is freely -available under a BSD-style license.</li> +available under a <abbr>BSD</abbr>-style license.</li> </ul> <h2>Other <code><abbr>tz</abbr></code>-based time zone software</h2> <ul> <li><a href="https://foxclocks.org">FoxClocks</a> -is an extension for <a href="http://www.google.com/chrome/">Google +is an extension for <a href="https://www.google.com/chrome/">Google Chrome</a> and for <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Toolkit_API">Mozilla Toolkit</a> applications like <a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a> and <a href="https://www.mozilla.org/en-US/thunderbird/">Thunderbird</a>. It displays multiple clocks in the application window, and has a mapping -interface to <a href="http://www.google.com/earth/">Google Earth</a>. +interface to <a href="https://www.google.com/earth/">Google Earth</a>. It is freely available under the <abbr>GPL</abbr>.</li> -<li><a href="http://golang.org">Go programming language</a> +<li><a href="https://golang.org">Go programming language</a> implementations contain a copy of a 32-bit subset of a recent <code><abbr>tz</abbr></code> database in a Go-specific format.</li> @@ -440,7 +465,7 @@ classes such as <a href="https://msdn.microsoft.com/en-us/library/windows/apps/windows.globalization.datetimeformatting.datetimeformatter.aspx"><code>DateTimeFormatter</code></a>. <a -href="http://blogs.msdn.com/b/bclteam/archive/2007/06/07/exploring-windows-time-zones-with-system-timezoneinfo-josh-free.aspx">Exploring +href="https://blogs.msdn.microsoft.com/bclteam/2007/06/07/exploring-windows-time-zones-with-system-timezoneinfo-josh-free/">Exploring Windows Time Zones with <code>System.TimeZoneInfo</code></a> describes the older, proprietary method of Microsoft Windows 2000 and later, which stores time zone data in the @@ -471,7 +496,7 @@ </ul> <h2>Other time zone databases</h2> <ul> -<li><a href="http://www.astro.com/cgi/aq.cgi">Atlas Query</a> +<li><a href="http://www.astro.com/atlas">Time-zone Atlas</a> is Astrodienst's Web version of Shanks and Pottenger's time zone history atlases published in both <a href="http://astrocom.com/astrology-products/software/acs-atlas-software">computer</a> @@ -533,8 +558,8 @@ <li>The <a href="https://github.com/bradfitz/latlong">latlong package</a> maps geographical coordinates to a <code><abbr>tz</abbr></code> region. It is written in Go and is freely available under the Apache License.</li> -<li><a href="http://derickrethans.nl/what-time-is-it.html">What Time -is It Here?</a> applies <a href="http://www.mongodb.org">MongoDB</a> +<li><a href="https://derickrethans.nl/what-time-is-it.html">What Time +is It Here?</a> applies <a href="https://www.mongodb.com">MongoDB</a> geospatial query operators to shapefiles' data.</li> <li><a href="http://statoids.com/statoids.html">Administrative Divisions of Countries ("Statoids")</a> contains lists of @@ -569,7 +594,7 @@ <li><a href="http://www.webexhibits.org/daylightsaving/">About Daylight Saving Time – History, rationale, laws & dates</a> is an overall history of <abbr>DST</abbr>.</li> -<li><a href="http://www.w3.org/TR/timezone/">Working with Time Zones</a> +<li><a href="https://www.w3.org/TR/timezone/">Working with Time Zones</a> contains guidelines and best practices for software applications that deal with civil time.</li> <li><a href="http://energy.ca.gov/daylightsaving.html">Saving Time, @@ -669,7 +694,7 @@ title="Institute of Electrical and Electronics Engineers">IEEE</abbr> 1588) can achieve submicrosecond clock accuracy on a local area network.</li> <li><a -href="http://tools.ietf.org/html/rfc4833">Timezone +href="https://tools.ietf.org/html/rfc4833">Timezone Options for <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr></a> (Internet <abbr>RFC</abbr> 4833) specifies a <a @@ -714,7 +739,7 @@ in general. It covers the state of the art in amateur timekeeping, and how the art has progressed over the past few decades.</li> <li><a -href="http://www.iers.org/IERS/EN/Publications/Bulletins/bulletins.html"><abbr +href="https://www.iers.org/IERS/EN/Publications/Bulletins/bulletins.html"><abbr title="International Earth Rotation and Reference Systems Service">IERS</abbr> Bulletins</a> contains official publications of the International Earth Rotation and Reference Systems Service, which decides @@ -754,17 +779,17 @@ 8601:2004 – Data elements and interchange formats – Information interchange – Representation of dates and times</a>.</li> <li> -<a href="http://www.w3.org/TR/xmlschema-2/#dateTime"><abbr>XML</abbr> +<a href="https://www.w3.org/TR/xmlschema-2/#dateTime"><abbr>XML</abbr> Schema: Datatypes – dateTime</a> specifies a format inspired by <abbr>ISO</abbr> 8601 that is in common use in <abbr>XML</abbr> data.</li> <li> -<a href="http://tools.ietf.org/html/rfc5322">Internet +<a href="https://tools.ietf.org/html/rfc5322">Internet Message Format</a> (Internet <abbr>RFC</abbr> 5322) §3.3 specifies the time notation used in email and <a href="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol"><abbr>HTTP</abbr></a> headers.</li> <li> -<a href="http://tools.ietf.org/html/rfc3339">Date and Time +<a href="https://tools.ietf.org/html/rfc3339">Date and Time on the Internet: Timestamps</a> (Internet <abbr>RFC</abbr> 3339) specifies an <abbr>ISO</abbr> 8601 profile for use in new Internet diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zic.8 new/zic.8 --- old/zic.8 2015-07-20 05:22:55.000000000 +0200 +++ new/zic.8 2016-05-29 20:57:02.000000000 +0200 @@ -26,7 +26,7 @@ .\} .el \{\ . ds : -. el ds - \- +. ds - \- .\} .I Zic reads text from the file(s) named on the command line diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zic.c new/zic.c --- old/zic.c 2016-02-26 12:33:54.000000000 +0100 +++ new/zic.c 2016-05-30 03:42:11.000000000 +0200 @@ -143,6 +143,13 @@ /* Bound on length of what %z can expand to. */ enum { PERCENT_Z_LEN_BOUND = sizeof "+995959" - 1 }; +/* If true, work around a bug in Qt 5.6.1 and earlier, which mishandles + tzdata binary files whose POSIX-TZ-style strings contain '<'; see + QTBUG-53071 <https://bugreports.qt.io/browse/QTBUG-53071>. This + workaround will no longer be needed when Qt 5.6.1 and earlier are + obsolete, say in the year 2021. */ +enum { WORK_AROUND_QTBUG_53071 = true }; + static int charcnt; static bool errors; static bool warnings; @@ -420,7 +427,8 @@ if (nitems < *nitems_alloc) return ptr; else { - int amax = INT_MAX < SIZE_MAX ? INT_MAX : SIZE_MAX; + int nitems_max = INT_MAX - WORK_AROUND_QTBUG_53071; + int amax = nitems_max < SIZE_MAX ? nitems_max : SIZE_MAX; if ((amax - 1) / 3 * 2 < *nitems_alloc) memory_exhausted(_("int overflow")); *nitems_alloc = *nitems_alloc + (*nitems_alloc >> 1) + 1; @@ -849,10 +857,6 @@ rounded downward to the negation of a power of two that is comfortably outside the error bounds. - zic does not output time stamps before this, partly because they - are physically suspect, and partly because GNOME mishandles them; see - GNOME bug 730332 <https://bugzilla.gnome.org/show_bug.cgi?id=730332>. - For the time of the Big Bang, see: Ade PAR, Aghanim N, Armitage-Caplan C et al. Planck 2013 results. @@ -873,7 +877,19 @@ #define BIG_BANG (- (1LL << 59)) #endif -static const zic_t big_bang_time = BIG_BANG; +/* If true, work around GNOME bug 730332 + <https://bugzilla.gnome.org/show_bug.cgi?id=730332> + by refusing to output time stamps before BIG_BANG. + Such time stamps are physically suspect anyway. + + The GNOME bug is scheduled to be fixed in GNOME 3.22, and if so + this workaround will no longer be needed when GNOME 3.21 and + earlier are obsolete, say in the year 2021. */ +enum { WORK_AROUND_GNOME_BUG_730332 = true }; + +static const zic_t early_time = (WORK_AROUND_GNOME_BUG_730332 + ? BIG_BANG + : MINVAL(zic_t, TIME_T_BITS_IN_FILE)); /* Return 1 if NAME is a directory, 0 if it's something else, -1 if trouble. */ static int @@ -1372,7 +1388,7 @@ return; } t = tadd(t, tod); - if (t < big_bang_time) { + if (t < early_time) { error(_("leap second precedes Big Bang")); return; } @@ -1616,8 +1632,11 @@ char * fullname; static const struct tzhead tzh0; static struct tzhead tzh; - zic_t *ats = emalloc(size_product(timecnt, sizeof *ats + 1)); - void *typesptr = ats + timecnt; + zic_t one = 1; + zic_t y2038_boundary = one << 31; + int nats = timecnt + WORK_AROUND_QTBUG_53071; + zic_t *ats = emalloc(size_product(nats, sizeof *ats + 1)); + void *typesptr = ats + nats; unsigned char *types = typesptr; /* @@ -1634,7 +1653,7 @@ toi = 0; fromi = 0; - while (fromi < timecnt && attypes[fromi].at < big_bang_time) + while (fromi < timecnt && attypes[fromi].at < early_time) ++fromi; for ( ; fromi < timecnt; ++fromi) { if (toi > 1 && ((attypes[fromi].at + @@ -1661,6 +1680,19 @@ ats[i] = attypes[i].at; types[i] = attypes[i].type; } + + /* Work around QTBUG-53071 for time stamps less than y2038_boundary - 1, + by inserting a no-op transition at time y2038_boundary - 1. + This works only for timestamps before the boundary, which + should be good enough in practice as QTBUG-53071 should be + long-dead by 2038. */ + if (WORK_AROUND_QTBUG_53071 && timecnt != 0 + && ats[timecnt - 1] < y2038_boundary - 1 && strchr(string, '<')) { + ats[timecnt] = y2038_boundary - 1; + types[timecnt] = types[timecnt - 1]; + timecnt++; + } + /* ** Correct for leap seconds. */ @@ -2363,9 +2395,9 @@ */ stdoff = 0; zp = &zpfirst[i]; - usestart = i > 0 && (zp - 1)->z_untiltime > big_bang_time; + usestart = i > 0 && (zp - 1)->z_untiltime > early_time; useuntil = i < (zonecount - 1); - if (useuntil && zp->z_untiltime <= big_bang_time) + if (useuntil && zp->z_untiltime <= early_time) continue; gmtoff = zp->z_gmtoff; eat(zp->z_filename, zp->z_linenum); @@ -2380,7 +2412,7 @@ if (usestart) { addtt(starttime, type); usestart = false; - } else addtt(big_bang_time, type); + } else addtt(early_time, type); } else for (year = min_year; year <= max_year; ++year) { if (useuntil && year > zp->z_untilrule.r_hiyear) break; @@ -2566,8 +2598,8 @@ static void addtt(zic_t starttime, int type) { - if (starttime <= big_bang_time || - (timecnt == 1 && attypes[0].at < big_bang_time)) { + if (starttime <= early_time + || (timecnt == 1 && attypes[0].at < early_time)) { gmtoffs[0] = gmtoffs[type]; isdsts[0] = isdsts[type]; ttisstds[0] = ttisstds[type]; ++++++ tzdata2016d.tar.gz -> tzdata2016e.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Makefile new/Makefile --- old/Makefile 2016-04-18 07:51:57.000000000 +0200 +++ new/Makefile 2016-06-14 17:47:43.000000000 +0200 @@ -5,7 +5,7 @@ PACKAGE= tzcode # Version numbers of the code and data distributions. -VERSION= 2016d +VERSION= 2016e # Email address for bug reports. BUGEMAIL= [email protected] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NEWS new/NEWS --- old/NEWS 2016-04-18 07:51:57.000000000 +0200 +++ new/NEWS 2016-06-14 17:47:43.000000000 +0200 @@ -1,5 +1,41 @@ News for the tz database +Release 2016e - 2016-06-14 08:46:16 -0700 + + Changes affecting future time stamps + + Africa/Cairo observes DST in 2016 from July 7 to the end of October. + Guess October 27 and 24:00 transitions. (Thanks to Steffen Thorsen.) + For future years, guess April's last Thursday to October's last + Thursday except for Ramadan. + + Changes affecting past time stamps + + Locations while uninhabited now use '-00', not 'zzz', as a + placeholder time zone abbreviation. This is inspired by Internet + RFC 3339 and is more consistent with numeric time zone + abbreviations already used elsewhere. The change affects several + arctic and antarctic locations, e.g., America/Cambridge_Bay before + 1920 and Antarctica/Troll before 2005. + + Asia/Baku's 1992-09-27 transition from +04 (DST) to +04 (non-DST) was + at 03:00, not 23:00 the previous day. (Thanks to Michael Deckers.) + + Changes to code + + zic now outputs a dummy transition at time 2**31 - 1 in zones + whose POSIX-style TZ strings contain a '<'. This mostly works + around Qt bug 53071 <https://bugreports.qt.io/browse/QTBUG-53071>. + (Thanks to Zhanibek Adilbekov for reporting the Qt bug.) + + Changes affecting documentation and commentary + + tz-link.htm says why governments should give plenty of notice for + time zone or DST changes, and refers to Matt Johnson's blog post. + + tz-link.htm mentions Tzdata for Elixir. (Thanks to Matt Johnson.) + + Release 2016d - 2016-04-17 22:50:29 -0700 Changes affecting future time stamps diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Theory new/Theory --- old/Theory 2016-02-14 21:36:54.000000000 +0100 +++ new/Theory 2016-05-29 23:37:31.000000000 +0200 @@ -227,9 +227,10 @@ name identifying each zone and append 'T', 'ST', etc. as before; e.g. 'VLAST' for VLAdivostok Summer Time. - Use UT (with time zone abbreviation 'zzz') for locations while - uninhabited. The 'zzz' mnemonic is that these locations are, - in some sense, asleep. + Use UT (with time zone abbreviation '-00') for locations while + uninhabited. The leading '-' is a flag that the time + zone is in some sense undefined; this notation is + derived from Internet RFC 3339. Application writers should note that these abbreviations are ambiguous in practice: e.g. 'CST' has a different meaning in China than diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/africa new/africa --- old/africa 2015-09-19 17:14:20.000000000 +0200 +++ new/africa 2016-05-01 02:39:53.000000000 +0200 @@ -343,6 +343,45 @@ # decision to abandon DST permanently. See Ahram Online 2015-04-24. # http://english.ahram.org.eg/NewsContent/1/64/128509/Egypt/Politics-/Sisi-cancels-daylight-saving-time-in-Egypt.aspx +# From Steffen Thorsen (2016-04-29): +# Egypt will have DST from July 7 until the end of October.... +# http://english.ahram.org.eg/NewsContentP/1/204655/Egypt/Daylight-savings-time-returning-to-Egypt-on--July.aspx +# http://www.nileinternational.net/en/?p=25806 +# ... EgyptAir seems to have assumed DST to start in April (like it previously +# did in 2010), and therefore this obviously causes problems with the schedules: +# http://www.egyptair.com/en/about-egyptair/news-and-press/Pages/CANCELLATION%20OF%20DAYLIGHT%20SAVING%20TIME.aspx +# +# From Paul Eggert (2016-04-29): +# For now, guess fall transitions will be October's last Thursday at +# 24:00 and spring transitions will follow rules used 1995-2010 and be +# April's last Thursday at 24:00, and guess a 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 2016 through 2068 were determined by running +# the following program under GNU Emacs 24.5, with the results integrated +# by hand into the table below. Ramadan again intrudes on the guessed +# DST starting in 2069, but that's beyond our somewhat-arbitrary cutoff here. +# (let ((islamic-year 1437)) +# (while (< islamic-year 1491) +# (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)))) + 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 - @@ -352,6 +391,53 @@ Rule Egypt 2014 only - Jun 26 24:00 0 - Rule Egypt 2014 only - Jul 31 24:00 1:00 S Rule Egypt 2014 only - Sep lastThu 24:00 0 - +Rule Egypt 2016 only - Jul 7 24:00 1:00 S +Rule Egypt 2016 2035 - Oct lastThu 24:00 0 - +Rule Egypt 2017 2019 - Apr lastThu 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 2051 - Apr lastThu 24:00 1:00 S +Rule Egypt 2036 only - Oct 16 24:00 0 - +Rule Egypt 2037 only - Oct 8 24:00 0 - +Rule Egypt 2038 only - Sep 23 24:00 0 - +Rule Egypt 2039 only - Sep 15 24:00 0 - +Rule Egypt 2039 only - Oct 20 24:00 1:00 S +Rule Egypt 2039 max - Oct lastThu 24:00 0 - +Rule Egypt 2040 only - Sep 6 24:00 0 - +Rule Egypt 2040 only - Oct 11 24:00 1:00 S +Rule Egypt 2041 only - Aug 22 24:00 0 - +Rule Egypt 2041 only - Sep 26 24:00 1:00 S +Rule Egypt 2042 only - Aug 14 24:00 0 - +Rule Egypt 2042 only - Sep 18 24:00 1:00 S +Rule Egypt 2043 only - Aug 6 24:00 0 - +Rule Egypt 2043 only - Sep 10 24:00 1:00 S +Rule Egypt 2044 only - Jul 21 24:00 0 - +Rule Egypt 2044 only - Aug 25 24:00 1:00 S +Rule Egypt 2045 only - Jul 13 24:00 0 - +Rule Egypt 2045 only - Aug 17 24:00 1:00 S +Rule Egypt 2046 only - Jun 28 24:00 0 - +Rule Egypt 2046 only - Aug 9 24:00 1:00 S +Rule Egypt 2047 only - Jun 20 24:00 0 - +Rule Egypt 2047 only - Jul 25 24:00 1:00 S +Rule Egypt 2048 only - Jun 11 24:00 0 - +Rule Egypt 2048 only - Jul 16 24:00 1:00 S +Rule Egypt 2049 only - May 27 24:00 0 - +Rule Egypt 2049 only - Jul 1 24:00 1:00 S +Rule Egypt 2050 only - May 19 24:00 0 - +Rule Egypt 2050 only - Jun 23 24:00 1:00 S +Rule Egypt 2051 only - May 11 24:00 0 - +Rule Egypt 2051 only - Jun 15 24:00 1:00 S +Rule Egypt 2052 only - May 30 24:00 1:00 S +Rule Egypt 2053 only - May 22 24:00 1:00 S +Rule Egypt 2054 only - May 14 24:00 1:00 S +Rule Egypt 2055 max - Apr lastThu 24:00 1:00 S # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Africa/Cairo 2:05:09 - LMT 1900 Oct @@ -858,11 +944,11 @@ Rule Morocco 2010 only - May 2 0:00 1:00 S Rule Morocco 2010 only - Aug 8 0:00 0 - Rule Morocco 2011 only - Apr 3 0:00 1:00 S -Rule Morocco 2011 only - Jul 31 0 0 - +Rule Morocco 2011 only - Jul 31 0:00 0 - Rule Morocco 2012 2013 - Apr lastSun 2:00 1:00 S -Rule Morocco 2012 only - Sep 30 3:00 0 - Rule Morocco 2012 only - Jul 20 3:00 0 - Rule Morocco 2012 only - Aug 20 2:00 1:00 S +Rule Morocco 2012 only - Sep 30 3:00 0 - Rule Morocco 2013 only - Jul 7 3:00 0 - Rule Morocco 2013 only - Aug 10 2:00 1:00 S Rule Morocco 2013 max - Oct lastSun 3:00 0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/antarctica new/antarctica --- old/antarctica 2015-04-06 06:06:42.000000000 +0200 +++ new/antarctica 2016-05-29 23:37:31.000000000 +0200 @@ -13,7 +13,7 @@ # # Except for the French entries, # I made up all time zone abbreviations mentioned here; corrections welcome! -# FORMAT is 'zzz' and GMTOFF is 0 for locations while uninhabited. +# FORMAT is '-00' and GMTOFF is 0 for locations while uninhabited. # Argentina - year-round bases # Belgrano II, Confin Coast, -770227-0343737, since 1972-02-05 @@ -67,22 +67,22 @@ # http://www.timeanddate.com/news/time/antartica-time-changes-2010.html # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Antarctica/Casey 0 - zzz 1969 +Zone Antarctica/Casey 0 - -00 1969 8:00 - AWST 2009 Oct 18 2:00 # Australian Western Std Time 11:00 - CAST 2010 Mar 5 2:00 # Casey Time 8:00 - AWST 2011 Oct 28 2:00 11:00 - CAST 2012 Feb 21 17:00u 8:00 - AWST -Zone Antarctica/Davis 0 - zzz 1957 Jan 13 +Zone Antarctica/Davis 0 - -00 1957 Jan 13 7:00 - DAVT 1964 Nov # Davis Time - 0 - zzz 1969 Feb + 0 - -00 1969 Feb 7:00 - DAVT 2009 Oct 18 2:00 5:00 - DAVT 2010 Mar 10 20:00u 7:00 - DAVT 2011 Oct 28 2:00 5:00 - DAVT 2012 Feb 21 20:00u 7:00 - DAVT -Zone Antarctica/Mawson 0 - zzz 1954 Feb 13 +Zone Antarctica/Mawson 0 - -00 1954 Feb 13 6:00 - MAWT 2009 Oct 18 2:00 # Mawson Time 5:00 - MAWT # References: @@ -137,7 +137,7 @@ # fishing stations operated variously 1819/1931 # # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Indian/Kerguelen 0 - zzz 1950 # Port-aux-Français +Zone Indian/Kerguelen 0 - -00 1950 # Port-aux-Français 5:00 - TFT # ISO code TF Time # # year-round base in the main continent @@ -148,9 +148,9 @@ # It was destroyed by fire on 1952-01-14. # # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Antarctica/DumontDUrville 0 - zzz 1947 +Zone Antarctica/DumontDUrville 0 - -00 1947 10:00 - PMT 1952 Jan 14 # Port-Martin Time - 0 - zzz 1956 Nov + 0 - -00 1956 Nov 10:00 - DDUT # Dumont-d'Urville Time # France & Italy - year-round base @@ -176,7 +176,7 @@ # was established on 1957-01-29. Since Syowa station is still the main # station of Japan, it's appropriate for the principal location. # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Antarctica/Syowa 0 - zzz 1957 Jan 29 +Zone Antarctica/Syowa 0 - -00 1957 Jan 29 3:00 - SYOT # Syowa Time # See: # NIPR Antarctic Research Activities (1999-08-17) @@ -226,7 +226,7 @@ # Remove the following line when uncommenting the above '#Rule' lines. Rule Troll 2004 max - Oct lastSun 1:00u 0:00 UTC # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Antarctica/Troll 0 - zzz 2005 Feb 12 +Zone Antarctica/Troll 0 - -00 2005 Feb 12 0:00 Troll %s # Poland - year-round base @@ -267,7 +267,7 @@ # happened to be during their visit. So we still don't really know what time # it is at Vostok. But we'll guess UTC+6. # -Zone Antarctica/Vostok 0 - zzz 1957 Dec 16 +Zone Antarctica/Vostok 0 - -00 1957 Dec 16 6:00 - VOST # Vostok time # S Africa - year-round bases @@ -300,7 +300,7 @@ # <http://webexhibits.org/daylightsaving/g.html> says Rothera is -03 all year. # # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Antarctica/Rothera 0 - zzz 1976 Dec 1 +Zone Antarctica/Rothera 0 - -00 1976 Dec 1 -3:00 - ROTT # Rothera time # Uruguay - year round base diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asia new/asia --- old/asia 2016-04-15 23:10:08.000000000 +0200 +++ new/asia 2016-04-18 17:08:43.000000000 +0200 @@ -146,7 +146,7 @@ 3:00 - BAKT 1957 Mar # Baku Time 4:00 RussiaAsia BAK%sT 1991 Mar 31 2:00s 3:00 1:00 BAKST 1991 Aug 30 # independence - 3:00 RussiaAsia AZ%sT 1992 Sep lastSat 23:00 + 3:00 RussiaAsia AZ%sT 1992 Sep lastSun 2:00s 4:00 - AZT 1996 # Azerbaijan Time 4:00 EUAsia AZ%sT 1997 4:00 Azer AZ%sT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/australasia new/australasia --- old/australasia 2016-02-21 00:20:56.000000000 +0100 +++ new/australasia 2016-05-29 23:37:31.000000000 +0200 @@ -243,11 +243,11 @@ # will produce a binary file with an [A]EST-type as the first 32-bit type; # this is required for correct handling of times before 1916 by # pre-2013 versions of localtime. -Zone Antarctica/Macquarie 0 - zzz 1899 Nov +Zone Antarctica/Macquarie 0 - -00 1899 Nov 10:00 - AEST 1916 Oct 1 2:00 10:00 1:00 AEDT 1917 Feb 10:00 Aus AE%sT 1919 Apr 1 0:00s - 0 - zzz 1948 Mar 25 + 0 - -00 1948 Mar 25 10:00 Aus AE%sT 1967 10:00 AT AE%sT 2010 Apr 4 3:00 11:00 - MIST # Macquarie I Standard Time diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/backzone new/backzone --- old/backzone 2016-01-25 19:04:14.000000000 +0100 +++ new/backzone 2016-05-29 23:37:31.000000000 +0200 @@ -395,7 +395,7 @@ -4:00 - AST # McMurdo, Ross Island, since 1955-12 -Zone Antarctica/McMurdo 0 - zzz 1956 +Zone Antarctica/McMurdo 0 - -00 1956 12:00 NZ NZ%sT Link Antarctica/McMurdo Antarctica/South_Pole diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/europe new/europe --- old/europe 2016-04-15 23:10:08.000000000 +0200 +++ new/europe 2016-04-26 22:57:22.000000000 +0200 @@ -2771,6 +2771,9 @@ # approved by the Federation Council on 2016-04-20, signed by the President and # published as a law around 2016-04-26. +# From Matt Johnson (2016-04-26): +# http://publication.pravo.gov.ru/Document/View/0001201604260048 + Zone Asia/Tomsk 5:39:51 - LMT 1919 Dec 22 6:00 - +06 1930 Jun 21 7:00 Russia +07/+08 1991 Mar 31 2:00s diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/northamerica new/northamerica --- old/northamerica 2016-03-26 10:11:22.000000000 +0100 +++ new/northamerica 2016-05-29 23:37:31.000000000 +0200 @@ -2191,39 +2191,39 @@ Rule NT_YK 1987 2006 - Apr Sun>=1 2:00 1:00 D # Zone NAME GMTOFF RULES FORMAT [UNTIL] # aka Panniqtuuq -Zone America/Pangnirtung 0 - zzz 1921 # trading post est. +Zone America/Pangnirtung 0 - -00 1921 # trading post est. -4:00 NT_YK A%sT 1995 Apr Sun>=1 2:00 -5:00 Canada E%sT 1999 Oct 31 2:00 -6:00 Canada C%sT 2000 Oct 29 2:00 -5:00 Canada E%sT # formerly Frobisher Bay -Zone America/Iqaluit 0 - zzz 1942 Aug # Frobisher Bay est. +Zone America/Iqaluit 0 - -00 1942 Aug # Frobisher Bay est. -5:00 NT_YK E%sT 1999 Oct 31 2:00 -6:00 Canada C%sT 2000 Oct 29 2:00 -5:00 Canada E%sT # aka Qausuittuq -Zone America/Resolute 0 - zzz 1947 Aug 31 # Resolute founded +Zone America/Resolute 0 - -00 1947 Aug 31 # Resolute founded -6:00 NT_YK C%sT 2000 Oct 29 2:00 -5:00 - EST 2001 Apr 1 3:00 -6:00 Canada C%sT 2006 Oct 29 2:00 -5:00 - EST 2007 Mar 11 3:00 -6:00 Canada C%sT # aka Kangiqiniq -Zone America/Rankin_Inlet 0 - zzz 1957 # Rankin Inlet founded +Zone America/Rankin_Inlet 0 - -00 1957 # Rankin Inlet founded -6:00 NT_YK C%sT 2000 Oct 29 2:00 -5:00 - EST 2001 Apr 1 3:00 -6:00 Canada C%sT # aka Iqaluktuuttiaq -Zone America/Cambridge_Bay 0 - zzz 1920 # trading post est.? +Zone America/Cambridge_Bay 0 - -00 1920 # trading post est.? -7:00 NT_YK M%sT 1999 Oct 31 2:00 -6:00 Canada C%sT 2000 Oct 29 2:00 -5:00 - EST 2000 Nov 5 0:00 -6:00 - CST 2001 Apr 1 3:00 -7:00 Canada M%sT -Zone America/Yellowknife 0 - zzz 1935 # Yellowknife founded? +Zone America/Yellowknife 0 - -00 1935 # Yellowknife founded? -7:00 NT_YK M%sT 1980 -7:00 Canada M%sT -Zone America/Inuvik 0 - zzz 1953 # Inuvik founded +Zone America/Inuvik 0 - -00 1953 # Inuvik founded -8:00 NT_YK P%sT 1979 Apr lastSun 2:00 -7:00 NT_YK M%sT 1980 -7:00 Canada M%sT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/southamerica new/southamerica --- old/southamerica 2016-04-15 22:10:29.000000000 +0200 +++ new/southamerica 2016-05-29 23:37:31.000000000 +0200 @@ -1309,7 +1309,7 @@ # Palmer used to be supplied from Argentina. # # Zone NAME GMTOFF RULES FORMAT [UNTIL] -Zone Antarctica/Palmer 0 - zzz 1965 +Zone Antarctica/Palmer 0 - -00 1965 -4:00 Arg AR%sT 1969 Oct 5 -3:00 Arg AR%sT 1982 May -4:00 Chile CL%sT @@ -1759,16 +1759,16 @@ # https://actualidad.rt.com/actualidad/204758-venezuela-modificar-huso-horario-sequia-elnino # # From Paul Eggert (2016-04-15): -# Clocks advance 30 minutes on 2016-05-01 at 02:30. See: -# Barboza AD. Huso horario en Venezuela volverá a 4 horas menos con -# respecto al "Greenwich". Panorama 2016-04-15 12:20 -0430. -# http://www.panorama.com.ve/ciudad/Huso-horario-en-Venezuela-volvera-a-4-horas-menos-con-respecto-al-Greenwich-20160415-0032.html -# +# Clocks advance 30 minutes on 2016-05-01 at 02:30.... # "'Venezuela's new time-zone: hours without light, hours without water, -# hours of presidential broadcasts, hours of lines," quipped comedian -# Jean Mary Curro ...". See: Cawthorne A, Kai D. Venezuela scraps +# hours of presidential broadcasts, hours of lines,' quipped comedian +# Jean Mary Curró ...". See: Cawthorne A, Kai D. Venezuela scraps # half-hour time difference set by Chavez. Reuters 2016-04-15 14:50 -0400 # http://www.reuters.com/article/us-venezuela-timezone-idUSKCN0XC2BE +# +# From Matt Johnson (2016-04-20): +# ... published in the official Gazette [2016-04-18], here: +# http://historico.tsj.gob.ve/gaceta_ext/abril/1842016/E-1842016-4551.pdf # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone America/Caracas -4:27:44 - LMT 1890
