jquery/globalize — pull request #172 by rxaviers (2013-08-29 10:39:22+00:00)
Title: WIP: Globalize 1.0.0 based on CLDR

This PR has been initiated, motivated, and (therefore) fixes issue #128.

## Goal:
- Provide a set of tools that leverage the official CLDR JSON data;
- Allow users to load as much or as little data as they need;
- Avoid duplicating data if using multiple i18n libraries that leverage CLDR;
- Run in browsers and node.js;

## Differences:

**Locale vs. Cultures**

LDML (the markup language used by CLDR) defines locale in a more flexible way than current cultures. One is able to define a custom tuple of (language, region, script, calendar, colletion, ...) in a more realistic way, whereas cultures has this definitions kinda fuzzy (inherited from the standards it had initially chosen to follow).

http://www.unicode.org/reports/tr35/#Locale

**Date Format**

Date format pattern are not fully equivalent. http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table

## Progress:

**Load/Set a locale**
- TBD
- Globalization and CLDR draft on https://github.com/rxaviers/globalize/wiki/Globalize-and-CLDR

**Format**

Number
- TBD

Date (there were no tests for date format. Unit tests have been added)
- [ ] Era `G`
- [ ] Year `y`
- [ ] Year `Y`
- [ ] Year `u`
- [ ] Year `U`
- [ ] Quarter `Q` (partial)
- [ ] Quarter `q` (partial)
- [ ] Month `M` (partial)
- [ ] Month `L` (partial)
- [ ] Week `w`
- [ ] Week `W`
- [ ] Day `d`
- [ ] Day `D`
- [ ] Day `F`
- [ ] Day `g+`
- [ ] Week day `e` (partial)
- [ ] Week day `c` (partial)
- [ ] Week day `E` (partial)
- [ ] Period (AM or PM) `a`
- [ ] Hour `h` (partial)
- [ ] Hour `H` (partial)
- [ ] Hour `K` (partial)
- [ ] Hour `k` (partial)
- [ ] Hour `j`
- [ ] Minute `m`
- [ ] Second `s`
- [ ] Second `S`
- [ ] Second `A`
- [ ] Zone `z`
- [ ] Zone `Z`
- [ ] Zone `O`
- [ ] Zone `v`
- [ ] Zone `V`
- [ ] Zone `X`
- [ ] Zone `x`

Currency
- TBD

**Parse**

Int
- TBD

Float
- TBD

Date
- TBD

**Documentation**
- [ ] Update README;