1
- __ Polite Notice :__ this implementation is not yet ready for production environments.
2
- See [ Status ] ( #status ) for more info .
1
+ __ Polite notice :__ ` Intl.js ` may not be ready for production environments yet. See the
2
+ [ status section ] ( #Status ) for more information .
3
3
4
4
In December 2012, ECMA International published the first edition of Standard ECMA-402,
5
5
better known as the _ ECMAScript Internationalization API_ . This specification provides
@@ -15,9 +15,12 @@ the native API in environments that support it, or `Intl.js` for legacy or unsup
15
15
environments.
16
16
17
17
## <a id =status ></a >Status
18
- ` Intl.js ` isn't yet ready for production environments. test402 has been integrated into
19
- the project and tells us there's still a lot of work to be done. The latest test, run on
20
- May 27 2013, scored 90 out of 153<sup >* </sup >.
18
+ The latest test, run on Jun 04 2013, scored 101 out of 117<sup >\* </sup >. Although the
19
+ majority of the failed tests are somewhat superficial, there are a few outstanding issues
20
+ with ` DateTimeFormat ` . Also, as the tests aren't run with all locales enabled, there may
21
+ be some edge cases that have been missed.
22
+
23
+ Aside from 1 issue with precision in Firefox, ` NumberFormat ` seems to be rather complete.
21
24
22
25
Current progress is as follows:
23
26
@@ -44,15 +47,16 @@ Current progress is as follows:
44
47
the IANA Language Subtag registry
45
48
- ` BestFitSupportedLocales ` internal function
46
49
- Implementation-dependent numbering system mappings
47
- - Collator objects (` Intl.Collator ` )
50
+ - Collator objects (` Intl.Collator ` ) (see below)
48
51
- Properties of the ` String ` prototype object
49
- - Test suites
50
52
51
53
A few of the implemented functions may currently be non-conforming and/or incomplete.
52
54
Most of those functions have comments marked as 'TODO' in the source code.
53
55
54
- <sup >* </sup > some of the tests cannot be passed from an ES5 implementation because they
55
- check for native behaviour. The majority of them should be passable, though.
56
+ <sup >\* </sup > Tested with a handful of locales only. The test suite is run with
57
+ Intl.Collator tests removed, and the Collator constructor removed from most other tests in
58
+ the suite. Also, some of the tests cannot be passed from an ES5 implementation because
59
+ they check for native behaviour.
56
60
57
61
## What about Intl.Collator?
58
62
0 commit comments