1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-06 22:38:56 +00:00

do not produce POSIX string if we end up in DST

SCCS-file: zic.c
SCCS-SID: 8.20
This commit is contained in:
Arthur David Olson
2009-07-11 11:03:19 -04:00
committed by Paul Eggert
parent 4b7c7670ca
commit 9c60b87f16

2
zic.c
View File

@ -1921,7 +1921,7 @@ const int zonecount;
if (stdrp != NULL && stdrp->r_hiyear == 2037)
return;
}
if (stdrp == NULL && zp->z_nrules != 0)
if (stdrp == NULL && (zp->z_nrules != 0 || zp->z_stdoff != 0))
return;
abbrvar = (stdrp == NULL) ? "" : stdrp->r_abbrvar;
doabbr(result, zp->z_format, abbrvar, FALSE, TRUE);