From 46359091c7d26fa35d23cd0a1ebf47e3442d15d4 Mon Sep 17 00:00:00 2001
From: Norbert Lindenberg What is the ECMAScript Internationalization API? The ECMAScript Internationalization API is a complement to the ECMAScript Language Specification, 5.1 edition.
It enables internationalization of JavaScript applications by providing collation (string comparison), number formatting, and date and time formatting, and lets applications choose the language and tailor the functionality to their needs.
- The specification is currently under development and likely to become standard ECMA-402.
- Current drafts of the specification are available on the ECMAScript web site.
What is ECMAScript?
"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of Technical Committee 39 (TC39) of Ecma International. The ECMAScript Language Specification standard is officially known as ECMA-262. diff --git a/website/json/intl402.json b/website/json/intl402.json index c653e4d4d1..f34c27505d 100644 --- a/website/json/intl402.json +++ b/website/json/intl402.json @@ -68,7 +68,7 @@ }, { "author":"Norbert Lindenberg", -"code":"Ly8gQ29weXJpZ2h0IDIwMTIgTW96aWxsYSBDb3Jwb3JhdGlvbi4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KLyoqCiAqIEBkZXNjcmlwdGlvbiBUZXN0cyB0aGF0IGFkZGl0aW9uYWwgdGltZSB6b25lIG5hbWVzLCBpZiBhY2NlcHRlZCwgYXJlIGhhbmRsZWQgY29ycmVjdGx5LgogKiBAYXV0aG9yIE5vcmJlcnQgTGluZGVuYmVyZwogKi8KCi8vIGNhbm9uaWNhbGl6YXRpb24gc3BlY2lmaWVkIGluIGNvbmZvcm1hbmNlIGNsYXVzZQp2YXIgYWRkaXRpb25hbFRpbWVab25lTmFtZXMgPSB7CiAgICAiRXRjL0dNVCI6ICJVVEMiLAogICAgIkdyZWVud2ljaCI6ICJVVEMiLAogICAgIlBSQyI6ICJBc2lhL1NoYW5naGFpIiwKICAgICJBbUVySWNBL0xvU19hTmdFbEVzIjogIkFtZXJpY2EvTG9zX0FuZ2VsZXMiLAogICAgImV0Yy9nbXQrNyI6ICJFdGMvR01UKzciCn07CgpPYmplY3QuZ2V0T3duUHJvcGVydHlO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BleHBlY3RlZCArICIuIik7CiAgICAgICAgfQogICAgfSBlbHNlIGlmIChlcnJvci5uYW1lICE9PSAiUmFuZ2VFcnJvciIpIHsKICAgICAgICAkRVJST1IoIlRpbWUgem9uZSBuYW1lICIgKyBuYW1lICsgIiB3YXMgcmVqZWN0ZWQgd2l0aCB3cm9uZyBlcnJvciAiICsgZXJyb3IubmFtZSArICIuIik7CiAgICB9Cn0pOwoK", "commentary":"", "description":"Tests that additional time zone names, if accepted, are handled correctly.", "path":"TestCases/intl402/ch06/6.4/6.4_c.js" diff --git a/website/json/suiteDescrip.json b/website/json/suiteDescrip.json index f3c489a00f..6e8df4c9c8 100644 --- a/website/json/suiteDescrip.json +++ b/website/json/suiteDescrip.json @@ -1 +1 @@ -{"date":"2012-11-05","version":"ES5.1"} \ No newline at end of file +{"date":"2012-12-17","version":"ES5.1"} \ No newline at end of file diff --git a/website/testcases_intl402.html b/website/testcases_intl402.html index 376f3a215d..c2ffed5263 100644 --- a/website/testcases_intl402.html +++ b/website/testcases_intl402.html @@ -68,8 +68,12 @@
What is the ECMAScript Internationalization API?
The ECMAScript Internationalization API is a complement to the ECMAScript Language Specification, 5.1 edition. It enables internationalization of JavaScript applications by providing collation (string comparison), number formatting, and date and time formatting, and lets applications choose the language and tailor the functionality to their needs. - The specification is currently under development and likely to become standard ECMA-402. - Current drafts of the specification are available on the ECMAScript web site.
+ The ECMAScript Internationalization API Specification 1.0 was approved as an official Ecma standard by the Ecma General Assembly in December 2012. + The ECMAScript Internationalization 1.0 standard is available in + PDF, + HTML, and + EPUB + versions from the Ecma International web site.What is ECMAScript?
"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of Technical Committee 39 (TC39) of Ecma International. The ECMAScript Language Specification standard is officially known as ECMA-262.