mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 05:29:21 +02:00
Unix timezone: fix search around TZ change back to be the same as on Windows
git-svn-id: trunk@47296 -
(cherry picked from commit f296bf3f2d
)
This commit is contained in:
parent
57d32cd6fe
commit
4b91815315
@ -63,7 +63,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
case timerIsUTC of
|
case timerIsUTC of
|
||||||
True: if (timer<transitions[i]) then break;
|
True: if (timer<transitions[i]) then break;
|
||||||
False: if (timer<transitions[i]+types[type_idxs[i]].offset) then break;
|
False: if (timer<transitions[i]+types[type_idxs[i-1]].offset) then break;
|
||||||
end;
|
end;
|
||||||
inc(i);
|
inc(i);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user