@formatjs/intl-supportedvaluesof 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -3
- package/index.js +2 -10
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/polyfill-force.js +2 -10
- package/polyfill-force.js.map +1 -1
- package/polyfill.iife.js +2 -10
- package/polyfill.js +2 -10
- package/polyfill.js.map +1 -1
- package/should-polyfill.d.ts +1 -2
package/package.json
CHANGED
package/polyfill-force.js
CHANGED
|
@@ -1041,7 +1041,6 @@ const timezones = [
|
|
|
1041
1041
|
"America/Montserrat",
|
|
1042
1042
|
"America/Nassau",
|
|
1043
1043
|
"America/New_York",
|
|
1044
|
-
"America/Nipigon",
|
|
1045
1044
|
"America/Nome",
|
|
1046
1045
|
"America/Noronha",
|
|
1047
1046
|
"America/North_Dakota/Beulah",
|
|
@@ -1050,7 +1049,6 @@ const timezones = [
|
|
|
1050
1049
|
"America/Nuuk",
|
|
1051
1050
|
"America/Ojinaga",
|
|
1052
1051
|
"America/Panama",
|
|
1053
|
-
"America/Pangnirtung",
|
|
1054
1052
|
"America/Paramaribo",
|
|
1055
1053
|
"America/Phoenix",
|
|
1056
1054
|
"America/Port-au-Prince",
|
|
@@ -1058,7 +1056,6 @@ const timezones = [
|
|
|
1058
1056
|
"America/Porto_Velho",
|
|
1059
1057
|
"America/Puerto_Rico",
|
|
1060
1058
|
"America/Punta_Arenas",
|
|
1061
|
-
"America/Rainy_River",
|
|
1062
1059
|
"America/Rankin_Inlet",
|
|
1063
1060
|
"America/Recife",
|
|
1064
1061
|
"America/Regina",
|
|
@@ -1079,7 +1076,6 @@ const timezones = [
|
|
|
1079
1076
|
"America/Swift_Current",
|
|
1080
1077
|
"America/Tegucigalpa",
|
|
1081
1078
|
"America/Thule",
|
|
1082
|
-
"America/Thunder_Bay",
|
|
1083
1079
|
"America/Tijuana",
|
|
1084
1080
|
"America/Toronto",
|
|
1085
1081
|
"America/Tortola",
|
|
@@ -1087,7 +1083,6 @@ const timezones = [
|
|
|
1087
1083
|
"America/Whitehorse",
|
|
1088
1084
|
"America/Winnipeg",
|
|
1089
1085
|
"America/Yakutat",
|
|
1090
|
-
"America/Yellowknife",
|
|
1091
1086
|
"Antarctica/Casey",
|
|
1092
1087
|
"Antarctica/Davis",
|
|
1093
1088
|
"Antarctica/DumontDUrville",
|
|
@@ -1117,7 +1112,6 @@ const timezones = [
|
|
|
1117
1112
|
"Asia/Bishkek",
|
|
1118
1113
|
"Asia/Brunei",
|
|
1119
1114
|
"Asia/Chita",
|
|
1120
|
-
"Asia/Choibalsan",
|
|
1121
1115
|
"Asia/Colombo",
|
|
1122
1116
|
"Asia/Damascus",
|
|
1123
1117
|
"Asia/Dhaka",
|
|
@@ -1196,7 +1190,6 @@ const timezones = [
|
|
|
1196
1190
|
"Australia/Adelaide",
|
|
1197
1191
|
"Australia/Brisbane",
|
|
1198
1192
|
"Australia/Broken_Hill",
|
|
1199
|
-
"Australia/Currie",
|
|
1200
1193
|
"Australia/Darwin",
|
|
1201
1194
|
"Australia/Eucla",
|
|
1202
1195
|
"Australia/Hobart",
|
|
@@ -1283,7 +1276,6 @@ const timezones = [
|
|
|
1283
1276
|
"Europe/Tallinn",
|
|
1284
1277
|
"Europe/Tirane",
|
|
1285
1278
|
"Europe/Ulyanovsk",
|
|
1286
|
-
"Europe/Uzhgorod",
|
|
1287
1279
|
"Europe/Vaduz",
|
|
1288
1280
|
"Europe/Vatican",
|
|
1289
1281
|
"Europe/Vienna",
|
|
@@ -1291,7 +1283,6 @@ const timezones = [
|
|
|
1291
1283
|
"Europe/Volgograd",
|
|
1292
1284
|
"Europe/Warsaw",
|
|
1293
1285
|
"Europe/Zagreb",
|
|
1294
|
-
"Europe/Zaporozhye",
|
|
1295
1286
|
"Europe/Zurich",
|
|
1296
1287
|
"Indian/Antananarivo",
|
|
1297
1288
|
"Indian/Chagos",
|
|
@@ -1355,7 +1346,8 @@ const timezones = [
|
|
|
1355
1346
|
*/
|
|
1356
1347
|
function isSupportedTimeZone(timeZone) {
|
|
1357
1348
|
try {
|
|
1358
|
-
|
|
1349
|
+
createMemoizedDateTimeFormat("en", { timeZone });
|
|
1350
|
+
return true;
|
|
1359
1351
|
} catch {}
|
|
1360
1352
|
return false;
|
|
1361
1353
|
}
|