remove "invalid" from invalid date of "cu" and "nu"

This commit is contained in:
Frank Tang 2018-10-02 17:32:29 -07:00 committed by Rick Waldron
parent 041d5acd5e
commit a1c3929c35
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ var defaultLocale = defaultOptions.locale;
var defaultSortedArray = testArray.slice(0).sort(defaultCollator.compare);
var keyValues = {
"co": ["standard", "search", "invalid"],
"co": ["standard", "search"],
"ka": ["noignore", "shifted", "invalid"],
"kb": ["true", "false", "invalid"],
"kc": ["true", "false", "invalid"],

View File

@ -21,7 +21,7 @@ locales.forEach(function (locale) {
var keyValues = {
"cu": ["USD", "EUR", "JPY", "CNY", "TWD", "invalid"], // DateTimeFormat internally uses NumberFormat
"nu": ["native", "traditio", "finance", "invalid"],
"nu": ["native", "traditio", "finance"],
"tz": ["usnavajo", "utcw01", "aumel", "uslax", "usnyc", "deber", "invalid"]
};

View File

@ -21,7 +21,7 @@ locales.forEach(function (locale) {
var keyValues = {
"cu": ["USD", "EUR", "JPY", "CNY", "TWD", "invalid"],
"nu": ["native", "traditio", "finance", "invalid"]
"nu": ["native", "traditio", "finance"]
};
Object.getOwnPropertyNames(keyValues).forEach(function (key) {