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

Commit 869782c

Browse files
committed
using all CLDR data for datetime formats instead of the subset defined in the spec, this will help to match browsers
1 parent 8951f0f commit 869782c

File tree

1,442 files changed

+29352
-70886
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,442 files changed

+29352
-70886
lines changed

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Pre-processed locale data output from Ldml2JsonConverter
22
cldr/
3+
data/
34

45
# test262 compiled python files
56
*.pyc

dist/Intl.complete.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Intl.js

+188-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Intl.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Intl.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

locale-data/complete.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

locale-data/json/aa-DJ.json

+37-98
Original file line numberDiff line numberDiff line change
@@ -20,105 +20,44 @@
2020
],
2121
"hourNo0": true,
2222
"hour12": true,
23-
"formats": [
24-
{
25-
"year": "numeric",
26-
"month": "long",
27-
"day": "numeric",
28-
"weekday": "long",
29-
"hour": "numeric",
30-
"minute": "2-digit",
31-
"second": "2-digit",
32-
"pattern": "{year} {month} {day}, {weekday} {hour}:{minute}:{second}",
33-
"pattern12": "{year} {month} {day}, {weekday} {hour}:{minute}:{second} {ampm}"
34-
},
35-
{
36-
"year": "numeric",
37-
"month": "short",
38-
"day": "numeric",
39-
"weekday": "long",
40-
"hour": "numeric",
41-
"minute": "2-digit",
42-
"second": "2-digit",
43-
"pattern": "{year} {month} {day}, {weekday} {hour}:{minute}:{second}",
44-
"pattern12": "{year} {month} {day}, {weekday} {hour}:{minute}:{second} {ampm}"
45-
},
46-
{
47-
"year": "numeric",
48-
"month": "long",
49-
"day": "numeric",
50-
"weekday": "long",
51-
"pattern": "{year} {month} {day}, {weekday}"
52-
},
53-
{
54-
"year": "numeric",
55-
"month": "short",
56-
"day": "numeric",
57-
"weekday": "long",
58-
"pattern": "{year} {month} {day}, {weekday}"
59-
},
60-
{
61-
"year": "numeric",
62-
"month": "long",
63-
"day": "numeric",
64-
"pattern": "{year} {month} {day}"
65-
},
66-
{
67-
"year": "numeric",
68-
"month": "2-digit",
69-
"day": "2-digit",
70-
"pattern": "{year}-{month}-{day}"
71-
},
72-
{
73-
"year": "numeric",
74-
"month": "short",
75-
"day": "numeric",
76-
"pattern": "{year} {month} {day}"
77-
},
78-
{
79-
"year": "numeric",
80-
"month": "2-digit",
81-
"pattern": "{year}-{month}"
82-
},
83-
{
84-
"year": "numeric",
85-
"month": "long",
86-
"pattern": "{year} {month}"
87-
},
88-
{
89-
"year": "numeric",
90-
"month": "short",
91-
"pattern": "{year} {month}"
92-
},
93-
{
94-
"month": "long",
95-
"day": "numeric",
96-
"pattern": "{month} {day}"
97-
},
98-
{
99-
"month": "short",
100-
"day": "numeric",
101-
"pattern": "{month} {day}"
102-
},
103-
{
104-
"month": "2-digit",
105-
"day": "2-digit",
106-
"pattern": "{month}-{day}"
107-
},
108-
{
109-
"hour": "numeric",
110-
"minute": "2-digit",
111-
"second": "2-digit",
112-
"pattern": "{hour}:{minute}:{second}",
113-
"pattern12": "{hour}:{minute}:{second} {ampm}"
114-
},
115-
{
116-
"hour": "numeric",
117-
"minute": "2-digit",
118-
"pattern": "{hour}:{minute}",
119-
"pattern12": "{hour}:{minute} {ampm}"
23+
"formats": {
24+
"medium": "{1} {0}",
25+
"availableFormats": {
26+
"E": "ccc",
27+
"EHm": "E HH:mm",
28+
"EHms": "E HH:mm:ss",
29+
"Ed": "d, E",
30+
"Ehm": "E h:mm a",
31+
"Ehms": "E h:mm:ss a",
32+
"Gy": "G y",
33+
"GyMMM": "G y MMM",
34+
"GyMMMEd": "G y MMM d, E",
35+
"GyMMMd": "G y MMM d",
36+
"H": "HH",
37+
"Hm": "HH:mm",
38+
"Hms": "HH:mm:ss",
39+
"M": "L",
40+
"MEd": "MM-dd, E",
41+
"MMM": "LLL",
42+
"MMMEd": "MMM d, E",
43+
"MMMd": "MMM d",
44+
"Md": "MM-dd",
45+
"d": "d",
46+
"h": "h a",
47+
"hm": "h:mm a",
48+
"hms": "h:mm:ss a",
49+
"ms": "mm:ss",
50+
"y": "y",
51+
"yM": "y-MM",
52+
"yMEd": "y-MM-dd, E",
53+
"yMMM": "y MMM",
54+
"yMMMEd": "y MMM d, E",
55+
"yMMMd": "y MMM d",
56+
"yMd": "y-MM-dd",
57+
"yQQQ": "y QQQ",
58+
"yQQQQ": "y QQQQ"
12059
}
121-
],
60+
},
12261
"calendars": {
12362
"buddhist": {
12463
"months": {

0 commit comments

Comments
 (0)