Commit Graph
9 Commits
Author SHA1 Message Date
Arthur David Olson 7fb077a9ff zic: improve handling of low-valued time stamps
* zic.c (writezone, outzone): Arrange things so that binary files
include "transition" entries for minimum time values; these
entries eliminate localtime guesswork in handling low-valued time
stamps.  The bad news: binary files grow slightly as a result of
these changes.  The good news: there are no changes in the output
of "zdump -v" applied to before-and-after versions of all the
binary files generated by a "make install".
2014-05-01 16:32:16 -07:00
Arthur David Olson 2586e998c6 zic: revert Macquarie-specific changes
These were part of commit fada9b7b05
dated 2013-05-23 12:19:13 -0700.
* zic.c (writezone): Don't set type 0 to that of lowest-valued time.
(writezone, outzone): Don't reserve type 0.
2014-05-01 16:25:19 -07:00
Arthur David Olson cbea42a159 * Makefile (clean_misc): Remove libtz.a. 2014-03-26 18:20:38 -07:00
Arthur David Olson af89d6b362 Update warnings about old zic and client software.
* zic.c (gethms): Remove obsolete warning about pre-1998 zic versions.
(writezone): Warn about pre-2014 clients.
2014-03-25 07:51:00 -07:00
Arthur David Olson fada9b7b05 Rework to avoid problem with Australia/Macquarie on 32-bit hosts.
Problem reported by Alan Gutierrez in
<http://mm.icann.org/pipermail/tz/2013-May/019368.html>.
* australasia (Antarctica/Macquarie): Rework to avoid problem
when combined with older zic + older localtime.
* localtime.c: Rework to avoid problem when combined with
older Antarctica/Macquarie + older zic.
(struct state): New member defaulttype.
(tzload): Set it.
(localsub): Use it.
* zic.c: Rework to avoid problem when combined with
older Antarctica/Macquarie + older zic.
(writezone): Potentially, set type 0 to that of lowest-valued time.
(outzone): Reserve type 0.
2013-05-23 12:21:02 -07:00
Arthur David Olson 3056d67be6 Fix bug with two-in-one-month time changes in 2010 in Egypt.
Problem reported by Paul Eggert in
<http://mm.icann.org/pipermail/tz/2013-January/018532.html>.
* zic.c (stringzone): Check for day of month too, when finding
latest rule.
2013-01-11 17:57:57 -08:00
Arthur David Olson 5ccc5f314f * tz-art.htm: Add "Run by the Monkeys". 2012-11-25 18:49:36 -08:00
Arthur David Olson 8c7f3d45f2 New zones Asia/Khandyga, Asia/Ust-Nera.
* europe, zone.tab (Asia/Khandyga, Asia/Ust-Nera): New zones.
Original heads-up from Alexander Krivenyshev in
<http://mm.icann.org/pipermail/tz/2011-September/008798.html>
with additional comments by Sanjeev Gupta and Tobias Conradi.
2012-11-25 18:47:40 -08:00
Arthur David Olson 4aae6cb25c Fix two localtime.c bugs reported by Doug Bailey.
See <http://mm.icann.org/pipermail/tz/2012-July/018103.html>.
* localtime.c (settzname): Ensure that tzname values are set.
(tzload): Get proper behavior when the software is being run on an
unsigned-time_t system but is using data files generated on a
signed-time_t system.
2012-11-25 14:08:15 -08:00