archives

« Bugzilla Issues Index

#1260 — Align with ECMAScript 6


Edition 2 of the ECMAScript Internationalization API Specification should be based on Edition 6 of the ECMAScript Language Specification. This includes (but may not be limited to) the following changes:

- Update the minimum version of ECMA-262, and all references to sections of the standard.

- Update the minimum version of the Unicode standard.

- Update algorithms to use the more precise algorithm language of ES6.

- Remove the text in the description of the ToLocalTime abstract operation that unties it from ES5, 15.9.1.7 and 15.9.1.8.


Any plans to turn the API into a module?


add a specification for Array.prototype.toLocaleString


What is (In reply to Norbert from comment #0)
> - Update the minimum version of the Unicode standard.

ES6 specifies `Unicode Standard, Version 5.1.0 or later`, should 402 match this version?


(In reply to Norbert from comment #0)
> - Remove the text in the description of the ToLocalTime abstract operation
> that unties it from ES5, 15.9.1.7 and 15.9.1.8.


"If the calendar is "gregory", then the calculations must match the algorithms specified in ES5, 15.9.1, except that calculations are not bound by the restrictions on the use of best available information on time zones for local time zone adjustment and daylight saving time adjustment imposed by ES5, 15.9.1.7 and 15.9.1.8."

Is this to be removed or replaced?


(In reply to Rick Waldron from comment #3)

> > - Update the minimum version of the Unicode standard.
>
> ES6 specifies `Unicode Standard, Version 5.1.0 or later`, should 402 match
> this version?

Yes, use the same references for both ISO/IEC 10646 and the Unicode Standard as in ES6.


(In reply to Rick Waldron from comment #4)

> > - Remove the text in the description of the ToLocalTime abstract operation
> > that unties it from ES5, 15.9.1.7 and 15.9.1.8.
>
>
> "If the calendar is "gregory", then the calculations must match the
> algorithms specified in ES5, 15.9.1, except that calculations are not bound
> by the restrictions on the use of best available information on time zones
> for local time zone adjustment and daylight saving time adjustment imposed
> by ES5, 15.9.1.7 and 15.9.1.8."
>
> Is this to be removed or replaced?

Replace with "If the calendar is "gregory", then the calculations must match the algorithms specified in ES6, 20.3.1."