Browse Source

GetLocalTimeOffset - fix overload call

git-svn-id: trunk@47289 -
(cherry picked from commit e10ee5ccb4febf9787280ccb1bd3026e804373e9)
ondrej 4 years ago
parent
commit
e62556e7f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/sysutils/dati.inc

+ 1 - 1
rtl/objpas/sysutils/dati.inc

@@ -1531,5 +1531,5 @@ end;
 function GetLocalTimeOffset(const DateTime: TDateTime): Integer;
 begin
   if not GetLocalTimeOffset(DateTime, Result) then
-    Result:=GetLocalTimeOffset;
+    Result:=GetLocalTimeOffset();
 end;