Skip to content

Commit

Permalink
fix: predefined short date pattern
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The predefined shord date format('d') is now generated from the dateFormats short format which differs for some locales from the previously used yMd skeleton
  • Loading branch information
danielkaradachki committed May 31, 2019
1 parent 16a7953 commit d9ec7f9
Show file tree
Hide file tree
Showing 353 changed files with 359 additions and 353 deletions.
2 changes: 1 addition & 1 deletion locale-tests/locales/ak/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ const data = {
},
calendar: {
patterns: {
d: "y/M/d",
d: "y/MM/dd",
D: "EEEE, y MMMM dd",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/ak/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "GH",
calendar: {
patterns: {
d: "y/M/d",
d: "y/MM/dd",
D: "EEEE, y MMMM dd",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/am/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "y MMMM d, EEEE",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/am/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "ET",
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "y MMMM d, EEEE",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/as/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,7 @@ const data = {
},
calendar: {
patterns: {
d: "dd-MM-y",
d: "d-M-y",
D: "EEEE, d MMMM, y",
m: "d MMM",
M: "d MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/as/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "IN",
calendar: {
patterns: {
d: "dd-MM-y",
d: "d-M-y",
D: "EEEE, d MMMM, y",
m: "d MMM",
M: "d MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/asa/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/asa/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "TZ",
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/be/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ const data = {
},
calendar: {
patterns: {
d: "d.M.y",
d: "d.MM.y",
D: "EEEE, d MMMM y 'г'.",
m: "d MMM",
M: "d MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/be/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "BY",
calendar: {
patterns: {
d: "d.M.y",
d: "d.MM.y",
D: "EEEE, d MMMM y 'г'.",
m: "d MMM",
M: "d MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bem/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bem/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "ZM",
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bez/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bez/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "TZ",
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/brx/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ const data = {
},
calendar: {
patterns: {
d: "y-MM-dd",
d: "M/d/y",
D: "EEEE, MMMM d, y",
m: "d-MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/brx/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "IN",
calendar: {
patterns: {
d: "y-MM-dd",
d: "M/d/y",
D: "EEEE, MMMM d, y",
m: "d-MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bs-Cyrl/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ const data = {
},
calendar: {
patterns: {
d: "dd.MM.y.",
d: "d.M.y.",
D: "EEEE, dd. MMMM y.",
m: "dd. MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bs-Cyrl/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const data = {
territory: "BA",
calendar: {
patterns: {
d: "dd.MM.y.",
d: "d.M.y.",
D: "EEEE, dd. MMMM y.",
m: "dd. MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bs-Latn/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,7 @@ const data = {
},
calendar: {
patterns: {
d: "d.M.y.",
d: "d. M. y.",
D: "EEEE, d. MMMM y.",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bs-Latn/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const data = {
territory: "BA",
calendar: {
patterns: {
d: "d.M.y.",
d: "d. M. y.",
D: "EEEE, d. MMMM y.",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bs/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -2244,7 +2244,7 @@ const data = {
},
calendar: {
patterns: {
d: "d.M.y.",
d: "d. M. y.",
D: "EEEE, d. MMMM y.",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/bs/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "BA",
calendar: {
patterns: {
d: "d.M.y.",
d: "d. M. y.",
D: "EEEE, d. MMMM y.",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/cgg/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/cgg/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "UG",
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/ckb-IR/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "y-MM-dd",
D: "y MMMM d, EEEE",
m: "dی MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/ckb-IR/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const data = {
territory: "IR",
calendar: {
patterns: {
d: "d/M/y",
d: "y-MM-dd",
D: "y MMMM d, EEEE",
m: "dی MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/ckb/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "y-MM-dd",
D: "y MMMM d, EEEE",
m: "dی MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/ckb/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "IQ",
calendar: {
patterns: {
d: "d/M/y",
d: "y-MM-dd",
D: "y MMMM d, EEEE",
m: "dی MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/cs/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -2579,7 +2579,7 @@ const data = {
},
calendar: {
patterns: {
d: "d. M. y",
d: "dd.MM.y",
D: "EEEE d. MMMM y",
m: "d. M.",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/cs/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "CZ",
calendar: {
patterns: {
d: "d. M. y",
d: "dd.MM.y",
D: "EEEE d. MMMM y",
m: "d. M.",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/cy/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -2918,7 +2918,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "d MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/cy/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "GB",
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "d MMM",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/da-GL/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ const data = {
},
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE 'den' d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/da-GL/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const data = {
territory: "GL",
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE 'den' d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/da/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1903,7 +1903,7 @@ const data = {
},
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE 'den' d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/da/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "DK",
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE 'den' d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/dav/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ const data = {
},
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/dav/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const data = {
territory: "KE",
calendar: {
patterns: {
d: "d/M/y",
d: "dd/MM/y",
D: "EEEE, d MMMM y",
m: "MMM d",
M: "MMMM d",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/de-AT/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ const data = {
},
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE, d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/de-AT/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const data = {
territory: "AT",
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE, d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/de-BE/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ const data = {
},
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE, d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/de-BE/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const data = {
territory: "BE",
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE, d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/de-CH/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ const data = {
},
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE, d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
2 changes: 1 addition & 1 deletion locale-tests/locales/de-CH/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const data = {
territory: "CH",
calendar: {
patterns: {
d: "d.M.y",
d: "dd.MM.y",
D: "EEEE, d. MMMM y",
m: "d. MMM",
M: "d. MMMM",
Expand Down
Loading

0 comments on commit d9ec7f9

Please sign in to comment.