1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-20 20:54:56 +00:00

Make 'timezone' and 'altzone' more compatible with 'tzname'.

* localtime.c (localsub): Don't bother updating 'tzname' again
when localtime is GMT, as tzset's value should be fine.  When
updating 'tzname', also update 'timezone' and 'altzone'
consistently, on platforms that define the latter two vars.
* NEWS: Document this.
This commit is contained in:
Paul Eggert
2014-10-03 22:22:50 -07:00
parent 651d4deba4
commit 4cf114ec1a
2 changed files with 36 additions and 9 deletions

12
NEWS
View File

@ -1,5 +1,17 @@
News for the tz database
Unreleased, experimental changes
Changes affecting code
If USG_COMPAT is defined and the requested time stamp is standard time,
the tz library's localtime and mktime functions now set the extern
variable timezone to a value appropriate for that time stamp; and
similarly for ALTZONE, daylight saving time, and the altzone variable.
This change is a companion to the tzname change in 2014h, and is
designed to make timezone and altzone more compatible with tzname.
Release 2014h - 2014-09-25 18:59:03 -0700
Changes affecting past time stamps