1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-06 23:30:28 +00:00

Have zdump output gmtoff= even on platforms lacking TM_GMTOFF.

* zdump.c (adjusted_yday, gmtoff): New functions.
(show): Use new function gmtoff to output gmtoff= even on
platforms that do not define TM_GMTOFF.
* NEWS: Document this.
This commit is contained in:
Paul Eggert
2014-09-21 20:54:54 -07:00
parent 3d7af33d76
commit 40b395e139
2 changed files with 45 additions and 7 deletions

3
NEWS
View File

@@ -17,6 +17,9 @@ Unreleased, experimental changes
Changes affecting code
zdump -V and -v now output gmtoff= values on all platforms,
not merely on platforms defining TM_GMTOFF.
The tz library's localtime and mktime functions now set tzname to a value
appropriate for the requested time stamp, and zdump now uses this
on platforms not defining TM_ZONE, fixing a 2014g regression.