Browse Source

GetLocalTimeOffset - fix overload call

git-svn-id: trunk@47289 -
ondrej 4 years ago
parent
commit
e10ee5ccb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/sysutils/dati.inc

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

@@ -1534,7 +1534,7 @@ end;
 function GetLocalTimeOffset(const DateTime: TDateTime): Integer;
 begin
   if not GetLocalTimeOffset(DateTime, Result) then
-    Result:=GetLocalTimeOffset;
+    Result:=GetLocalTimeOffset();
 end;
 
 { Conversion of UTC to local time and vice versa }