mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-08 03:03:48 +00:00
heuristic approach to zeroeth transition
SCCS-file: zic.c SCCS-SID: 1.8
This commit is contained in:
committed by
Paul Eggert
parent
0c068fc614
commit
0d4eb488d0
9
zic.c
9
zic.c
@ -878,8 +878,13 @@ register struct zone * zp;
|
||||
** switch results in a day switch; this is left as an exercise
|
||||
** for the reader.
|
||||
*/
|
||||
if (i > 0)
|
||||
t.tz_times[i] -= temps[i - 1].t_rp->r_stdoff;
|
||||
if (i == 0) {
|
||||
/*
|
||||
** Kludge--not guaranteed to work.
|
||||
*/
|
||||
if (ntemps > 1)
|
||||
t.tz_times[0] -= temps[1].t_rp->r_stdoff;
|
||||
} else t.tz_times[i] -= temps[i - 1].t_rp->r_stdoff;
|
||||
}
|
||||
writezone(zp->z_name, &t);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user