| Index: src/js/i18n.js
|
| diff --git a/src/js/i18n.js b/src/js/i18n.js
|
| index feb017aae9e5d82cc232c0de8777d7a1e8dedd5d..ef35922a03d9fe812c3a5faaf477db004cbf24da 100644
|
| --- a/src/js/i18n.js
|
| +++ b/src/js/i18n.js
|
| @@ -1751,8 +1751,8 @@ function FormatDateToParts(dateValue) {
|
| %FunctionSetLength(FormatDateToParts, 0);
|
|
|
|
|
| -// 0 because date is optional argument.
|
| -AddBoundMethod(GlobalIntlDateTimeFormat, 'format', formatDate, 0, 'dateformat',
|
| +// Length is 1 as specified in ECMA 402 v2+
|
| +AddBoundMethod(GlobalIntlDateTimeFormat, 'format', formatDate, 1, 'dateformat',
|
| true);
|
|
|
|
|
|
|