mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 11:49:30 +02:00
unix: fix RefreshTZInfo UTC parameter
git-svn-id: trunk@49001 -
This commit is contained in:
parent
ecad5e9a6c
commit
881235b489
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user