1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-08 20:42:41 +00:00

handle Portugal right

SCCS-file: zic.c
SCCS-SID: 7.11
This commit is contained in:
Arthur David Olson
1993-10-29 22:08:20 -04:00
committed by Paul Eggert
parent 818fa8273d
commit 662d1e1cf9

6
zic.c
View File

@ -1481,9 +1481,11 @@ addtt(starttime, addtype(startoff, startbuf, startisdst, startttisstd));
** Now we may get to set starttime for the next zone line.
*/
if (useuntil) {
starttime = tadd(zp->z_untiltime,
-gmtoffs[types[timecnt - 1]]);
starttime = tadd(zp->z_untiltime, -gmtoff);
startttisstd = zp->z_untilrule.r_todisstd;
if (!startttisstd)
starttime = tadd(starttime, -stdoff);
gmtoff = (zp + 1)->z_gmtoff;
}
}
writezone(zpfirst->z_name);