mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-19 16:44:25 +00:00
finish template work
SCCS-file: localtime.c SCCS-SID: 7.35
This commit is contained in:
committed by
Paul Eggert
parent
9607231b8c
commit
b415caa3ec
+4
-7
@@ -832,10 +832,6 @@ const int lastditch;
|
||||
** between standard and summer time, but a different
|
||||
** difference can be specified in TZ.
|
||||
*/
|
||||
/*
|
||||
** XXX--STILL MUST MAKE USE OF GMT INFO
|
||||
** SCHLEPPED ELSEWHERE.
|
||||
*/
|
||||
isdst = FALSE; /* we start in standard time */
|
||||
for (i = 0; i < sp->timecnt; ++i) {
|
||||
register const struct ttinfo * ttisp;
|
||||
@@ -849,9 +845,10 @@ const int lastditch;
|
||||
** to the transition time.
|
||||
*/
|
||||
ttisp = &sp->ttis[sp->types[i]];
|
||||
sp->ats[i] +=
|
||||
(isdst && !ttisp->tt_ttisstd) ?
|
||||
dstfix : stdfix;
|
||||
if (!ttisp->tt_ttisgmt)
|
||||
sp->ats[i] +=
|
||||
(isdst && !ttisp->tt_ttisstd) ?
|
||||
dstfix : stdfix;
|
||||
isdst = ttisp->tt_isdst;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user