Unix timezone: fix search around TZ change back to be the same as on Windows

git-svn-id: trunk@47296 -
This commit is contained in:
ondrej 2020-11-03 19:40:04 +00:00
parent a36caf9043
commit f296bf3f2d

View File

@ -63,7 +63,7 @@ begin
begin
case timerIsUTC of
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;
inc(i);
end;