Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit cf737ac

Browse files
committed
Advanced version to 0.1.0, updated README to brag about test results
1 parent d3c2b74 commit cf737ac

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ Google have an implementation of this API that is available in recent versions o
66
and Chrome/Chromium 24 and later. Mozilla also have a working implementation in the
77
current Firefox nightly builds.
88

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.
1312

1413
## <a id=start></a>Getting started
1514
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-
2322
For other setups, just clone the repo for the pre-built scripts and locale datafiles.
2423

2524
## <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.
2926

3027
Aside from 1 issue with floating point precision in Firefox/SpiderMonkey, `NumberFormat`
3128
seems to be rather complete.
@@ -54,15 +51,19 @@ Current progress is as follows:
5451
- `BestFitSupportedLocales` internal function
5552
- Implementation-dependent numbering system mappings
5653
- Calendars other than Gregorian
54+
- Support for time zones
5755
- Collator objects (`Intl.Collator`) (see below)
5856
- Properties of the `String` prototype object
5957

6058
A few of the implemented functions may currently be non-conforming and/or incomplete.
6159
Most of those functions have comments marked as 'TODO' in the source code.
6260

6361
<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
6667

6768
## What about Intl.Collator?
6869

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intl",
3-
"version": "0.0.3",
3+
"version": "0.1.0",
44
"description": "polyfill the ECMA-402 Intl API (except collation)",
55
"main": ["Intl.js", "Intl.min.js"],
66
"keywords": [

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intl",
3-
"version": "0.0.3",
3+
"version": "0.1.0",
44
"description": "Polyfill the ECMA-402 Intl API (except collation)",
55
"main": "Intl.complete.js",
66
"directories": {

0 commit comments

Comments
 (0)