unix: fix RefreshTZInfo UTC parameter

git-svn-id: trunk@49001 -
This commit is contained in:
ondrej 2021-03-18 19:21:51 +00:00
parent ecad5e9a6c
commit 881235b489

View File

@ -210,7 +210,7 @@ var
NewTZInfoEx: TTZInfoEx;
begin
LockTZInfo;
if GetLocalTimezone(fptime,false,NewTZInfo,NewTZInfoEx) then
if GetLocalTimezone(fptime,true,NewTZInfo,NewTZInfoEx) then
SetTZInfo(NewTZInfo,NewTZInfoEx);
UnlockTZInfo;
end;