@@ -6,10 +6,9 @@ Google have an implementation of this API that is available in recent versions o
6
6
and Chrome/Chromium 24 and later. Mozilla also have a working implementation in the
7
7
current Firefox nightly builds.
8
8
9
- ` Intl.js ` attempts to fill the void of availability for this API. It will provide the
10
- framework as described by the specification, so that developers can take advantage of
11
- the native API in environments that support it, or ` Intl.js ` for legacy or unsupporting
12
- environments.
9
+ ` Intl.js ` fills the void of availability for this API. It will provide the framework as
10
+ described by the specification, so that developers can take advantage of the native API
11
+ in environments that support it, or ` Intl.js ` for legacy or unsupporting environments.
13
12
14
13
## <a id =start ></a >Getting started
15
14
For Node.js applications, you can install Intl.js using NPM:
@@ -23,9 +22,7 @@ Intl.js is also available as a [Bower](http://bower.io) component for the front-
23
22
For other setups, just clone the repo for the pre-built scripts and locale datafiles.
24
23
25
24
## <a id =status ></a >Status
26
- The latest test, run on Jun 04 2013, scored 99 out of 111 in SpiderMonkey<sup >\* </sup >.
27
- Although the majority of the failed tests are somewhat superficial, there are a few
28
- outstanding issues with ` DateTimeFormat ` .
25
+ The latest test, run on January 10 2013, scored 111 out of 111<sup >\* </sup > in Node.js.
29
26
30
27
Aside from 1 issue with floating point precision in Firefox/SpiderMonkey, ` NumberFormat `
31
28
seems to be rather complete.
@@ -54,15 +51,19 @@ Current progress is as follows:
54
51
- ` BestFitSupportedLocales ` internal function
55
52
- Implementation-dependent numbering system mappings
56
53
- Calendars other than Gregorian
54
+ - Support for time zones
57
55
- Collator objects (` Intl.Collator ` ) (see below)
58
56
- Properties of the ` String ` prototype object
59
57
60
58
A few of the implemented functions may currently be non-conforming and/or incomplete.
61
59
Most of those functions have comments marked as 'TODO' in the source code.
62
60
63
61
<sup >\* </sup > The test suite is run with Intl.Collator tests removed, and the Collator
64
- constructor removed from most other tests in the suite. Also, some of the tests cannot be
65
- passed from an ES5 implementation because they check for native behaviour.
62
+ constructor removed from most other tests in the suite. Also some parts of tests that
63
+ cannot be passed by a JavaScript implementation have been disabled, as well as a small
64
+ part of the same tests that fail due to [ this bug in v8] [ ] .
65
+
66
+ [ this bug in v8 ] : https://code.google.com/p/v8/issues/detail?id=2694
66
67
67
68
## What about Intl.Collator?
68
69
0 commit comments