summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release tzcode2015a and tzdata2015a.2015aPaul Eggert2015-01-292-2/+2
| | | | * NEWS, Makefile (VERSION): Increase to 2015a.
* Minor tz-link updatesPaul Eggert2015-01-291-4/+3
| | | | | * tz-link.htm: Add MINIX and remove Symbian. Remove link to now-obsolete proposal by Tim Berners-Lee.
* make check_white_space fix for leap-seconds.listPaul Eggert2015-01-281-3/+3
| | | | | | | | | * Makefile (check_white_space): Allow trailing white space in leap-seconds.list. This file is maintained by NIST, and the current version has trailing white space, and has a checksum making it inadvisable for us to remove the trailing white space in our copy. Also, coalesce two 'grep' calls into one, and check for weird white space characters anywhere, not just before line end.
* Chile has stopped changing its clocksPaul Eggert2015-01-283-9/+21
| | | | | | | | | * NEWS: * antarctica (ChileAQ, Antarctica/Palmer): * southamerica (Chile, America/Santiago, Pacific/Easter): Chile will not change its clocks in April, or thereafter. Consider this to be their new standard time, effective April. (Thanks to Juan Correa.)
* Revert America/FCP_QRoo changePaul Eggert2015-01-284-28/+4
| | | | There are too many unanswered questions about it.
* Minor fixes for America/FCP_QRoo commentaryPaul Eggert2015-01-284-19/+20
| | | | | | * NEWS: America/FCP_QRoo also affects current time stamps. * northamerica: Reformat to fit in 80 characters. * zone.tab, zone1970.tab: Use "city, state" style for consistency.
* New zone America/FCP_QRoo.Tim Parenti2015-01-284-3/+26
| | | | | | | | * northamerica (America/FCP_QRoo): New zone for portions of Quintana Roo state in Mexico which have observed EST without DST since 1998. * zone.tab, zone1970.tab: Add entries for it, update description of America/Cancun to reflect that it no longer represents all of Quintana Roo. * NEWS: Document this.
* America/Cancun switches to EST without DST on 2015-02-01.Tim Parenti2015-01-284-3/+26
| | | | | | | * northamerica (America/Cancun): Switch to EST without DST on 2015-02-01 at 02:00. * zone.tab, zone1970.tab: Update description for America/Cancun. * NEWS: Document this.
* * NEWS: Slight consistency fix.Tim Parenti2015-01-281-2/+2
|
* * NEWS: Document 2015-06-30 leap second.Paul Eggert2015-01-061-0/+5
|
* Positive leap second on 2015-06-30.Tim Parenti2015-01-061-7/+17
| | | | | | | * leap-seconds.list: Per IERS Bulletin C49 (2015-01-05), a positive leap second will be inserted into the UTC time scale at the end of 2015-06-30. Update file from NIST, retrieved from <ftp://time.nist.gov/pub/leap-seconds.3629404800>.
* * leapseconds.awk, NEWS: Also output expiration date comment.Paul Eggert2014-12-172-0/+12
| | | | | Problem reported by Martin Burnicki in: http://www.ietf.org/mail-archive/web/tzdist/current/msg01132.html
* * northamerica (US): Use lastSun for September 1945.Paul Eggert2014-12-121-1/+1
| | | | (Thanks to Ken Murchison.)
* * northamerica, NEWS: Update Mexican Library of Congress URL.Paul Eggert2014-12-072-2/+6
| | | | | Problem reported by Alois Treindl in: http://mm.icann.org/pipermail/tz/2014-December/021913.html
* * backzone (Europe/Isle_of_Man): Use same format as other entries.Paul Eggert2014-12-031-1/+1
|
* * tz-art.htm: Correct the description of "The Mysterious Cube".Arthur David Olson2014-11-291-2/+2
|
* * NEWS: Mention tzselect fix for POSIX TZ reporting.Paul Eggert2014-11-261-3/+3
|
* tzselect: Display Posix TZ format when usedStefan Kuhn2014-11-261-1/+1
|
* Move out-of-scope Arabian peninsula zones to 'backzone'.Paul Eggert2014-11-254-24/+36
| | | | | | | | | * asia (Asia/Bahrain): Now links to Asia/Qatar. (Asia/Kuwait, Asia/Aden): Now links to Asia/Riyadh. (Asia/Muscat): Now links to Asia/Dubai. * backzone: Move the old data here. * checktab.awk (tztab): Remove special cases for these zones. * NEWS: Document the above.
* * NEWS: Document POSIX awk fixes.Paul Eggert2014-11-251-1/+2
|
* tzselect: Removed spaces in calls to awk-functionsStefan Kuhn2014-11-251-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explanation: GNU awk fails when a user-defined-functions is called with a space like in 'myUDF ()'. It does not fail when calling builtin functions, but removed those spaces too. Example code: good_awk='function echo(x) { return x; } BEGIN { print echo("x"); }' bad_awk_='function echo(x) { return x; } BEGIN { print echo ("x"); }' sin_awk='BEGIN { print sin (0) }' mawk -W version 2>/dev/null | head -n1 mawk "${sin_awk}" mawk "${good_awk}" mawk "${bad_awk_}" gawk -V | head -n1 gawk "${sin_awk}" gawk "${good_awk}" gawk "${bad_awk_}" Output: mawk 1.3.4 20141027 0 x x GNU Awk 4.0.2 0 x gawk: cmd. line:1: error: function `echo' called with space between name and `(',
* * europe (Iceland): Typo fix in commentary.Tim Parenti2014-11-231-1/+1
|
* * NEWS: Fix misspelling. (Thanks to Chris Rorvick.)Paul Eggert2014-11-231-1/+1
|
* Adjust pre-1940 Iceland data to match the Iceland Almanak.Paul Eggert2014-11-222-16/+19
| | | | | | | * europe (Iceland, Atlantic/Reykjavik): Correct entries for 1939, 1921, 1919, and 1837-1907. Coalesce some other entries, for simplicity. * NEWS: Document this.
* tzselect: Fix for gawk treating '\.' as plain '.'Stefan Kuhn2014-11-222-1/+4
| | | | | | | | | | | | | | | | | | When using gawk and Posix TZ in tzselect, this warning is shown: awk: cmd. line:1: warning: escape sequence `\.' treated as plain `.' gawk treats '\.' as '.' mawk treats '\.' as '\.' both treat '\\.' as '\\.' The 2nd and 3rd are corrrect for 'Mm.w.d'. Test: gawk 'BEGIN{ date = "\."; print date }' gawk 'BEGIN{ date = "\\."; print date }' versus: mawk 'BEGIN{ date = "\."; print date }' mawk 'BEGIN{ date = "\\."; print date }' * tzselect.ksh (date): Fix bug that broke POSIX TZ checking with gawk. * NEWS: Document this.
* Fix link-to-link for Asmera.Paul Eggert2014-11-173-1/+8
| | | | | | | | | Problem reported by Stephen Colebourne in: http://mm.icann.org/pipermail/tz/2014-November/021888.html * backward (Africa/Asmera): Link to Africa/Nairobi, not to Africa/Asmara. * backzone (Africa/Asmera): New link, to override 'backward'. * NEWS: Document fixes.
* Check for links to links.Paul Eggert2014-11-172-3/+26
| | | | | | | | | This problem has come up before, and it's time to add a check to catch this common error. * Makefile (AWK_SCRIPTS): Add checklinks.awk. (check, .PHONY): Add check_links. (check_links): New rule. * checklinks.awk: New file.
* tzalloc should scrub abbreviations, compatibly with tzset.Paul Eggert2014-11-112-2/+18
| | | | | | | * localtime.c (settzname): Move scrubbing into ... (scrub_abbrs): ... this new function. (zoneinit): Use it here, rather than in settzname. * NEWS: Document this.
* Refactor to centralize the setting of tzname.Paul Eggert2014-11-111-33/+25
| | | | | | | | See Christos Zoulas in: http://mm.icann.org/pipermail/tz/2014-November/021881.html * localtime.c (update_tzname_etc): New function. (settzname, localsub): Use it. (localsub): Rename parameter for clarity.
* Release tzcode2014j and tzdata2014j.2014jPaul Eggert2014-11-102-2/+2
| | | | * NEWS, Makefile (VERSION): Increase to 2014j.
* * tz-link.htm: Modernize some more URLs.Paul Eggert2014-11-091-20/+19
|
* * europe (Russia): Say why no rule change is needed for 2014.Paul Eggert2014-11-061-0/+1
|
* * northamerica (America/Grand_Turk): Delay AST switch until next year.Paul Eggert2014-11-042-2/+13
| | | | | (Thanks to Chris Walton.) * NEWS: Document this.
* * tz-link.htm: Modernize URLs a bit. Omit unnecessary trailing slashes.Paul Eggert2014-11-021-48/+48
|
* Fix dates for yesterday's changes.Paul Eggert2014-11-012-2/+2
|
* * europe: Add Countess Markievicz's take on the Summer Time Act, 1916.Paul Eggert2014-10-311-0/+8
|
* Move out-of-scope UTC+3 African zones to 'backzone'.Paul Eggert2014-10-314-60/+84
| | | | | | | | | | * africa (Africa/Addis_Ababa, Africa/Asmara, Africa/Dar_es_Salaam) (Africa/Djibouti, Africa/Kampala, Africa/Mogadishu, Indian/Antananarivo) (Indian/Comoro, Indian/Mayotte): Change these from zones to links to Africa/Nairobi. * backzone: Move the old data here. * checktab.awk (tztab): Remove special cases for these zones. * NEWS: Document the above.
* Be less enthusiastic about Shanks and clarify UT vs UTC.Paul Eggert2014-10-319-50/+68
| | | | | | | * africa, asia, australasia, backzone, europe, northamerica: * southamerica, tz-link.htm: Be less enthusiastic about Shanks. * tz-link.htm: Be clearer about UT vs UTC. * NEWS: Document this.
* * leapseconds.awk: Update the IERS's full name.Paul Eggert2014-10-311-2/+2
|
* Remove stray line in previous patch.Paul Eggert2014-10-301-1/+0
|
* Correct many pre-1989 entries for Korea.Paul Eggert2014-10-302-25/+63
| | | | | | | | | (Thanks to Sanghyuk Jung.) * asia (ROK): Add entries for 1948-1959 and correct entries for 1987-1988. (Asia/Seoul): Correct entries through 1962. (Asia/Pyongyang): Guess no change since World War II. * NEWS: Document this.
* Release tzcode2014i and tzdata2014i.2014iPaul Eggert2014-10-212-2/+3
| | | | * NEWS, Makefile (VERSION): Increase to 2014i.
* * tz-link.htm: Remove mention of no-longer-distributed USGS data.Paul Eggert2014-10-211-8/+4
| | | | Clean up typography slightly.
* * tz-art.htm: Add Enright play. Fix Dylan title.Paul Eggert2014-10-211-1/+9
|
* * NEWS: Move abbreviation commentary to appropriate section.Paul Eggert2014-10-211-2/+3
|
* * asia, backzone: Verify Trần 2005 and add sources.Paul Eggert2014-10-212-11/+20
| | | | | | | I obtained a copy of Trần Tiến Bình's 2005 book "Lịch Việt Nam: thế kỷ XX-XXI (1901-2100)", verified that www.thoigian.com.vn's page is a verbatim quote of a passage in pages 45-50, and added a list of Trần's sources for his pp 49-50.
* Fiji observes DST from 2014-11-02 02:00 to 2015-01-18 03:00.Paul Eggert2014-10-203-12/+15
| | | | | | | | (Thanks to Ken Rylander for the heads-up.) * australasia (Fiji): Assume Nov Sun>=1 2:00 to Jan Sun>=18 3:00 from here on out. * newtzset.3: Adjust Fiji example to match current assumptions. * NEWS: Document this.
* * localtime.c (zoneinit): Return int errno value instead of boolPaul Eggert2014-10-181-14/+15
| | | | | and storing into errno. All uses changed. This slightly simplifies the code.
* * northamerica, NEWS: Add NRC Canada link for DST.Paul Eggert2014-10-182-2/+3
| | | | | | (Thanks to Brian Inglis.) * NEWS: Document this.
* Fix localtime.c undefined behaviors and set errno.Paul Eggert2014-10-183-94/+127
| | | | | | | | | | | | | | | | | | | | | | | | Christos Zoulas reported a crash due to a tzsetlcl failure to initialize data in some places, and requested that errno be set when time functions fail; see: http://mm.icann.org/pipermail/tz/2014-October/021754.html While fixing this in a different way, I noticed and fixed another instance of undefined behavior when read returns a too-small value. * NEWS: Document this. * localtime.c (union input_buffer): Rename from u_t. (union input_buffer, union local_storage): Move to top level so that two functions can use them. (tzloadbody): New function, with most of the body of the old tzload. Check for short reads that leave uninitialized buffers behind. Define a new constant TZHEADSIZE for this, and use it to simplify other code that already uses the concept. (tzload): Use it. This removes the need for gotos. Return an errno value; all callers changed. (zoneinit): Return bool, not struct state *. Assume SP is nonnull. All callers changed. (zoneinit, tzalloc): Set errno on failure. (tzsetlcl): Don't crash if zoneinit fails. * private.h (ENAMETOOLONG): Define if not already defined.