Ver código fonte

unix: fix RefreshTZInfo UTC parameter

git-svn-id: trunk@49001 -
(cherry picked from commit 881235b489d285aa2f437fbb3efdb13035968629)
ondrej 4 anos atrás
pai
commit
3ce5aa0daa
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      rtl/unix/timezone.inc

+ 1 - 1
rtl/unix/timezone.inc

@@ -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;