Browse Source

* Additional overloads

michael 4 năm trước cách đây
mục cha
commit
09e6d4e6af
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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