mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-23 11:42: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
|
** between standard and summer time, but a different
|
||||||
** difference can be specified in TZ.
|
** difference can be specified in TZ.
|
||||||
*/
|
*/
|
||||||
/*
|
|
||||||
** XXX--STILL MUST MAKE USE OF GMT INFO
|
|
||||||
** SCHLEPPED ELSEWHERE.
|
|
||||||
*/
|
|
||||||
isdst = FALSE; /* we start in standard time */
|
isdst = FALSE; /* we start in standard time */
|
||||||
for (i = 0; i < sp->timecnt; ++i) {
|
for (i = 0; i < sp->timecnt; ++i) {
|
||||||
register const struct ttinfo * ttisp;
|
register const struct ttinfo * ttisp;
|
||||||
@@ -849,9 +845,10 @@ const int lastditch;
|
|||||||
** to the transition time.
|
** to the transition time.
|
||||||
*/
|
*/
|
||||||
ttisp = &sp->ttis[sp->types[i]];
|
ttisp = &sp->ttis[sp->types[i]];
|
||||||
sp->ats[i] +=
|
if (!ttisp->tt_ttisgmt)
|
||||||
(isdst && !ttisp->tt_ttisstd) ?
|
sp->ats[i] +=
|
||||||
dstfix : stdfix;
|
(isdst && !ttisp->tt_ttisstd) ?
|
||||||
|
dstfix : stdfix;
|
||||||
isdst = ttisp->tt_isdst;
|
isdst = ttisp->tt_isdst;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user