From 09e6d4e6af1299847a9a0f306cb904800fe15204 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 11 Dec 2020 13:35:11 +0000 Subject: [PATCH] * Additional overloads --- packages/rtl/js.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/rtl/js.pas b/packages/rtl/js.pas index 9c5bc48..841d20a 100644 --- a/packages/rtl/js.pas +++ b/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