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

step one in start time simplification

SCCS-file: zic.c
SCCS-SID: 7.73
This commit is contained in:
Arthur David Olson
1996-05-02 19:48:29 -04:00
committed by Paul Eggert
parent 9d6cdb5735
commit 4e830278a4

15
zic.c
View File

@ -1669,21 +1669,16 @@ const int zonecount;
if (usestart) {
if (zp->z_format != NULL &&
strchr(zp->z_format, '%') == NULL &&
strchr(zp->z_format, '/') == NULL) {
if (*startbuf == '\0')
(void) strcpy(startbuf,
zp->z_format);
if (startisdst < 0)
startisdst = zp->z_stdoff != 0;
}
strchr(zp->z_format, '/') == NULL &&
*startbuf == '\0')
(void) strcpy(startbuf, zp->z_format);
eat(zp->z_filename, zp->z_linenum);
if (*startbuf == '\0')
error(_("can't determine time zone abbrevation to use just after until time"));
else if (startisdst < 0)
error(_("can't determine whether to use DST just after until time"));
else addtt(starttime,
addtype(startoff, startbuf,
startisdst, startttisstd,
startoff != zp->z_gmtoff,
startttisstd,
startttisgmt));
}
/*