Explorar o código

* Merging revisions 999 from trunk:
------------------------------------------------------------------------
r999 | michael | 2020-12-11 14:35:11 +0100 (Fri, 11 Dec 2020) | 1 line

* Additional overloads
------------------------------------------------------------------------

michael %!s(int64=4) %!d(string=hai) anos
pai
achega
ecccf34572
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      packages/rtl/js.pas

+ 3 - 1
packages/rtl/js.pas

@@ -216,7 +216,9 @@ type
     function toISOString: string; // ISO 8601 Extended Format
     function toJSON: string;
     function toGMTString: string; // in GMT timezone
-    function toLocaleDateString: string; // date in locale timezone, no time
+    function toLocaleDateString: string; overload; // date in locale timezone, no time
+    function toLocaleDateString(const aLocale : string) : string; overload; // date in locale timezone, no time
+    function toLocaleDateString(const aLocale : string; aOptions : TJSObject) : string; overload; // date in locale timezone, no time
     function toLocaleString: string; reintroduce; // date and time in locale timezone
     function toLocaleTimeString: string; // time in locale timezone, no date
     function toTimeString: string; // time human readable, no date