1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-06 19:29:06 +00:00
Commit Graph

3233 Commits

Author SHA1 Message Date
Paul Eggert
7fc9e6e84f NEWS: Document previous change. 2014-03-07 22:30:59 -08:00
Paul Eggert
358183b3b7 Ukraine's time zone changes were incorrect for 1990/1.
(Thanks to Vladimir in Moscow via Alois Treindl.)
* europe (Europe/Kiev): Omit 1990-01-01 transition.
1990-07-01 transition was to EEST, not EET.  EEST ended
1991-09-29 03:00.
2014-03-07 22:22:43 -08:00
Paul Eggert
57738f30c7 Mention recent Paraguay decree.
* southamerica (Para): Add comment for Paraguay's Decree 1264.
(Thanks to Carlos Raul Perasso.)
* NEWS: Document this.
2014-03-07 21:44:40 -08:00
Paul Eggert
d3306708aa Israel DST transitions were off by a day in 1988.
(Thanks to Avigdor Finkelstein.)
* asia (Zion): Add 1 to the 1988 transition dates.
* NEWS: Document this.
2014-03-07 21:37:29 -08:00
Paul Eggert
4fcb1324e3 Update some web links.
* tz-link.htm: Mention zeitverschiebung.net (thanks to Martin
Jaeger) and the timezone-olson Haskell package.  Remove moribund
link to daylight-savings-time.info.
* NEWS: Document this.
2014-02-19 14:37:21 -08:00
Paul Eggert
12bcb1621c Chile: 2014 official DST follows our prediction.
(Thanks to Jose Miguel Garrido.)
* southamerica (Chile), NEWS: Document this.
2014-02-19 10:55:42 -08:00
Paul Eggert
4f73102117 Europe/Istanbul: Simplify recent change. (Thanks to Tim Parenti.)
* europe (Turkey): Revert previous change.
(Europe/Istanbul): Record 2014 the same way we did 2011; it's simpler.
* NEWS: Document this.
2014-02-19 10:44:11 -08:00
Paul Eggert
377543e46e Turkey begins DST on 2014-03-31, not 03-30.
(Thanks to Faruk Pasin.)
* europe (Turkey): New rule for spring 2014.
(Europe/Istanbul): Use it.
* NEWS: Document this.
2014-02-17 22:20:59 -08:00
Paul Eggert
a55fda9248 Mention Maggiolo's map of solar vs standard time.
* tz-link.htm: Add URL and description.  (Thanks to Arthur David Olson.)
* NEWS: Document this.
2014-02-02 13:19:27 -08:00
Paul Eggert
36dbd2c201 Make tz-link.htm more up-to-date.
* tz-link.htm: Mention xCal and jCal.
Mention Microsoft Windows 8.1 support for tz names.
CLDR data is available in both XML and JSON form.
Update two links (thanks to Oscar van Vlijmen).
Fix some formatting glitches, e.g., remove random newlines from
abbr elements' title attributes.
* NEWS: Document this.
2014-01-29 21:24:49 -08:00
Paul Eggert
8dbbeb507e Simplify some ALL_STATE and PCTS ifdefs.
* Makefile (GCC_DEBUG_FLAGS): Add -Wno-address and -Wno-cast-qual.
Otherwise, GCC 4.8.1 complains about some of the following changes.
* localtime.c (wildabbr): Now const.  This is a tiny bit more
efficient, POSIX allows it, and the ALL_STATE simplifications
below make use of it.  All uses changed to cast if needed.
(settzname, tzload, localsub, gmtsub, timesub, time2sub, time1):
Protect less code with ALL_STATE; this is simpler and doesn't
change behavior (or, these days, efficiency).
(time1): Simplify the PCTS ifdef, and explain what PCTS is.
2014-01-17 22:42:22 -08:00
Paul Eggert
7257f94960 Fix date typo in comment. (Thanks to Tim Parenti.) 2014-01-17 22:04:27 -08:00
Paul Eggert
3e831e3eab * tz-link.htm: Add Symbian and fix some layout problems. 2014-01-17 17:59:00 -08:00
Paul Eggert
284f20a733 Fiji ends DST at 02:00, not 03:00.
* australasia (Fiji): Move fall-back time from 03:00 to 02:00
starting this year.  (Thanks to Steffen Thorsen.)
* NEWS: Document this.
2014-01-10 08:05:24 -08:00
Paul Eggert
add863bcde Make 'make check_web' work with Ubuntu 13.10 by default.
* Makefile (SGML_CATALOG_FILES): HTML4.cat moved in Ubuntu.
* NEWS: Document this.
2014-01-02 13:20:49 -08:00
Paul Eggert
a4a5ceda02 Fix another 'localtime' initialization bug.
* localtime.c (tzload) [ALL_STATE]: Initialize sp->goback
and sp->goahead even if memory allocation fails.
(tzload, tzsetwall, tzset, gmtsub) [ALL_STATE]:
Use malloc, not calloc, since the !ALL_STATE code has to
work with reused storage anyway.
* NEWS: Document Logan Chien's fix.
2014-01-02 13:16:39 -08:00
Logan Chien
953da20e25 Fix initialization bug in localtime.
Problem reported by Logan Chien in
<http://mm.icann.org/pipermail/tz/2014-January/020534.html>.
* localtime.c (tzparse): Initialize sp->defaulttype to 0.
2014-01-02 12:56:02 -08:00
Paul Eggert
f9aa3436d8 Give the boundary of the US Pacific time zone more accurately.
(Thanks to Alan Mintz.)
* northamerica (America/Los_Angeles): Fix comment.
* NEWS: Document this.
2013-12-24 17:50:24 -08:00
Paul Eggert
1f4030f845 Release tzcode2013i and tzdata2013i.
* NEWS, Makefile (VERSION): Increase to 2013i.
2013i
2013-12-17 07:26:04 -08:00
Paul Eggert
b0cde690c6 Asia/Amman: Jordan's Dec. 20 transition is DST, not standard time
(Thanks to Steffen Thorsen.)
* asia (Jordan): Transition is at 00:00, not 00:00s.
* NEWS: Document this.
2013-12-11 12:29:10 -08:00
Paul Eggert
ed8f3bd6d2 Asia/Amman: Jordan reverts to standard time on Dec. 20
* asia (Jordan, Asia/Amman): Jordan switches back to standard time
on 2013-12-20.  (Thanks to Steffen Thorsen.)  Assume this is at
00:00s, and that the previous schedule resumes next year.
* NEWS: Document this.
2013-12-11 11:30:51 -08:00
Paul Eggert
f0b7563dc2 America/Havana: fix spring 2004 transition
* northamerica (Cuba), NEWS: In 2004, Cuba began DST on March 28,
not April 4.  (Thanks to Steffen Thorsen.)
2013-11-13 01:00:16 -08:00
Paul Eggert
1b2656774f build: remove NOSOLAR option
The current tzdata now goes to 17, which is uncomfortably close to
the NOSOLAR limit of 20.
* Makefile (CFLAGS): Remove NOSOLAR comment.
* tzfile.h (TZ_MAX_TYPES): Ignore NOSOLAR; always default to 256.
* NEWS: Document this.
2013-11-13 00:49:41 -08:00
Paul Eggert
a9ac0f6938 maint: remove solar-time experiment
It occasionally causes confusion, e.g.,
<http://mm.icann.org/pipermail/tz/2013-November/020486.html>.
* Makefile (SDATA): Remove.  All uses removed.
* newctime.3 (NOTES): Remove reference to solar time.
* solar87, solar88, solar89: Remove.
* NEWS: Document this.
2013-11-13 00:49:41 -08:00
Paul Eggert
d13040f09f * NEWS: Describe Noda Time change to tz-link. 2013-10-28 15:13:43 -07:00
Paul Eggert
eb03aa784c * tz-link.htm: Mention Noda Time (thanks to Matt Johnson).
Also, use abbr and endashes more consistently, and call it
a "web page" rather than a "file".
2013-10-28 14:27:22 -07:00
Paul Eggert
52d3619cc1 Release tzcode2013h and tzdata2013h.
* NEWS, Makefile (VERSION): Increase to 2013h.
2013h
2013-10-25 15:34:35 -07:00
Paul Eggert
baea52df7a Africa/Tripoli: switch to EET sans DST as of 02:00 today
(Thanks to Even Scharning for the heads-up.)
* africa (Libya): DST rules are for 2013 only.
(Africa/Tripoli): Switch to EET without DST as of 02:00 today.
* NEWS: Document this.
2013-10-25 08:02:57 -07:00
Paul Eggert
0d85102c8b Western Sahara uses Moroccan DST rules.
* africa (Africa/El_Aaiun): Assume it's been using Moroccan DST
rules ever since Morocco took over.  (Thanks to Gwillim Law.)
* NEWS: Document this.
2013-10-23 23:42:15 -07:00
Paul Eggert
398eb5d16c * tz-link.htm: Update URLs.
* NEWS: Document the above.
2013-10-21 00:16:15 -07:00
Paul Eggert
2c0ed4f527 * NEWS: Document recent localtime and zdump fixes. 2013-10-20 23:04:26 -07:00
Paul Eggert
45bc0b2552 localtime: fix overflow bugs for 32-bit unsigned time_t
This fixes a longstanding test-case failure with
'make check_time_t_alternatives'.
* localtime.c (detzcode64): Return int_fast64_t, not time_t,
for the benefit of platforms where time_t is narrower than 64 bits.
The distinction matters if time_t is 32-bit unsigned.
Simplify the shifts and masks.
(tzload): Fix the check for overflow when storing the loaded time
value into a time_t object.  The old code didn't work when
time_t was an unsigned 32-bit quantity.
(transtime): Return the offset from the start of the year,
not the offset since the Epoch, since the former cannot overflow
but the latter can.  Caller changed.
(tzparse): Check for overflow more carefully when computing
time stamps.  The old code didn't work for 32-bit unsigned values,
in unusual situations such as Pacific/Fiji and Pacific/Auckland
for times past 2038.
(increment_overflow_time): New function.
2013-10-20 16:51:18 -07:00
Paul Eggert
cfc4f57d98 zdump: remove unportable assumption about sscanf and overflow
* zdump.c (strtoimax) [!INTMAX_MAX]: Define like private.h does.
(SCNdMAX): Remove; no longer used.
(main): Use strtoimax, not sscanf with SCNdMAX, as strtoimax has
well-defined behavior when the input number is out of numeric range.
2013-10-20 16:20:23 -07:00
Paul Eggert
59257b1b04 Acre and (we guess) western Amazonas will switch from UTC-4 to UTC-5.
* southamerica (America/Rio_Branco, America/Eirunepe): Switch from
UTC-4 to UTC-5 on November 10.  (Thanks to Steffen Thorsen).
* NEWS: Document this.
2013-10-17 07:30:00 -07:00
Paul Eggert
43909bd2a3 * tz-link.htm, NEWS: Mention TimezoneJS.Date (thanks to Jim Fehrle).
Also, update Joda Time URL.
2013-10-08 08:58:43 -07:00
Paul Eggert
0f9614ba9e * tzselect.ksh (doselect): Prompt to stderr, not stdout.
(Thanks to Patrick 'P. J.' McDermott.)
2013-10-06 12:28:30 -07:00
Paul Eggert
63b0906c92 * .gitignore: Ignore *.a files. 2013-10-06 02:25:29 -07:00
Paul Eggert
868ed00c10 tzselect: work around an old BusyBox awk bug
Patch by Patrick 'P. J.' McDermott in
<http://mm.icann.org/pipermail/tz/2013-October/020444.html>.
* tzselect.ksh: Replace awk -F options with FS assignments.
Before version 1.21.0, BusyBox awk didn't unescape the argument to
the -F option.  As a result, tzselect couldn't parse tables with
such versions of BusyBox awk.  See
<https://bugs.busybox.net/show_bug.cgi?id=5126> and
<http://git.busybox.net/busybox/commit?id=ea664dd>.
* NEWS: Document this.
2013-10-06 02:24:36 -07:00
Paul Eggert
be06aa48db tzselect: port to /bin/sh
Problem reported by Patrick 'P. J.' McDermott in
<http://mm.icann.org/pipermail/tz/2013-October/020441.html>.
This code is quite a bit different from what he proposed.
* tzselect.ksh: Rewrite so that it should work with /bin/sh on
common platforms.  For portability to Solaris 9 /bin/sh, use
`...`, not $(...), and avoid $((...)).
(doselect): New function.  Use this instead of plain 'select'.
Callers no longer need to worry whether it sets the var to empty.
* Makefile, NEWS: Document this.
2013-10-06 02:11:51 -07:00
Paul Eggert
b9b27d5b7e * africa (Morocco): Fix off-by-one typo in comment. 2013-10-03 00:22:09 -07:00
Paul Eggert
2ecfc39ab6 Fix problem with Morocco time stamps after 2037.
Problem reported by Yoshito Umaoka in
<http://mm.icann.org/pipermail/tz/2013-October/020423.html>.
* africa (Morocco): Stop after 2038, not 2037.
* NEWS: Document this.
2013-10-02 18:43:31 -07:00
Paul Eggert
a7a55e113d * NEWS: Document recent Makefile changes. 2013-10-02 11:29:21 -07:00
Paul Eggert
1d67c5bfca build: Makefile fixes; let user give AR and RANLIB; local libtz.a
* Makefile: Let the user override AR, and build libtz.a before
installing it, as suggested by Michael Forney in
<https://github.com/eggert/tz/pull/3>.  Also, let the user
override RANLIB.  Modernize a bit by assuming POSIX.2-1992 or
later; this is safe nowadays and simplifies the libtz.a business.
And treat 'leapseconds' more like we used to, since it's
machine-independent a 'make clean' doesn't need to remove it.
(TZLIB): Remove.
(AR, RANLIB): New macros.
(TABDATA): Add leapseconds, so that 'make' builds it by default.
(DATA): Remove leapseconds, since $(TABDATA) now has it.
(all): Depend on libtz.a, not $(LIBOBJS).
(install): Install libtz.a using 'cp', like other files.
Also invoke $(RANLIB) on it, after installing.
Do not assume that TZDIR is not overridden.
(install, INSTALL, check_time_t_alternatives): Use 'mkdir -p', as
it's safe to assume nowadays (standardized in POSIX.2-1992).
(install, INSTALL): Prefer 'cp -f' to 'rm' followed by 'cp', as
it's safe to assume 'cp -f' nowadays (also standardized in POSIX.2-1992).
(libtz.a): Rename from $(DESTDIR)$(TZLIB), since we now build it here.
Use $(AR) rather than ar.
Use $(RANLIB) rather than trying to guess it.
(clean_misc): Do not remove 'leapseconds', as it's machine-independent.
(maintainer-clean): Remove 'leapseconds' here instead.
(clean, check_public): Standardize on 'rm -fr' rather than 'rm -f -r';
formerly the makefile was inconsistent.
(set-timestamps.out): Don't ignore failurs of the actual touch command.
2013-10-02 10:48:46 -07:00
Paul Eggert
1479cad711 * Makefile (TZCSRCS, TZDSRCS, DATESRCS): Remove; unused.
* NEWS: Document recent Makefile fixes.
2013-10-01 21:54:42 -07:00
Paul Eggert
132e8351b6 * Makefile (TZDSRCS, TZDOBJS): Interchange asctime.c and asctime.o.
(Thanks to Andrew Paprocki.)
2013-10-01 21:45:25 -07:00
Paul Eggert
17ca83e6f8 doc: mention TC TIMEZONE's draft timezone service protocol
(Thanks to Mike Douglass.)
* tz-link.htm, NEWS: Add info about this.
2013-10-01 15:40:52 -07:00
Paul Eggert
320239cf81 Release tzcode2013g and tzdata2013g.
* NEWS, Makefile (VERSION): Increase to 2013g.
2013g
2013-09-30 21:10:49 -07:00
Paul Eggert
22fe30e600 zic: restore missing diagnostic with 'zic -v'
* zic.c (outzone): Restore diagnostic that was inadvertently
suppressed by the 2013-09-08 change to the 400-years-hack.
This doesn't affect zic's binary output; it affects only the
diagnostics generated by 'zic -v'.  The problem evinced itself
with Asia/Tehran, which currently should generate a diagnostic,
but doesn't without this patch.
* NEWS: Document the above.
2013-09-30 19:41:02 -07:00
Paul Eggert
0a6a92937f Morocco changed start-of-DST from March to April.
* africa (Morocco): The spring-forward date was moved too,
to the last Sunday in March.
* NEWS: Document this.
2013-09-30 09:01:01 -07:00
Paul Eggert
4b556f8dc8 * Makefile (check_public): When rebuilding, make $(ENCHILADA)
as well as 'all', so that the *.txt files are built.
2013-09-29 23:45:06 -07:00