@formatjs/intl-supportedvaluesof 2.3.0 → 2.3.2
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 +60 -8
- package/index.js +1148 -2
- package/index.js.map +1 -0
- package/package.json +2 -3
- package/polyfill-force.d.ts +1 -1
- package/polyfill-force.js +1144 -1
- package/polyfill-force.js.map +1 -0
- package/polyfill.d.ts +1 -1
- package/polyfill.iife.js +289 -4361
- package/polyfill.js +1154 -9
- package/polyfill.js.map +1 -0
- package/should-polyfill.d.ts +5 -1
- package/should-polyfill.js +6 -1
- package/should-polyfill.js.map +1 -0
- package/src/calendars.generated.d.ts +0 -2
- package/src/calendars.generated.js +0 -23
- package/src/collations.generated.d.ts +0 -2
- package/src/collations.generated.js +0 -23
- package/src/currencies.generated.d.ts +0 -2
- package/src/currencies.generated.js +0 -311
- package/src/get-supported-calendars.d.ts +0 -8
- package/src/get-supported-calendars.js +0 -27
- package/src/get-supported-collations.d.ts +0 -8
- package/src/get-supported-collations.js +0 -23
- package/src/get-supported-currencies.d.ts +0 -8
- package/src/get-supported-currencies.js +0 -50
- package/src/get-supported-numbering-systems.d.ts +0 -7
- package/src/get-supported-numbering-systems.js +0 -28
- package/src/get-supported-timezones.d.ts +0 -8
- package/src/get-supported-timezones.js +0 -25
- package/src/get-supported-units.d.ts +0 -7
- package/src/get-supported-units.js +0 -28
- package/src/index.d.ts +0 -33
- package/src/index.js +0 -34
- package/src/memoize.d.ts +0 -9
- package/src/memoize.js +0 -10
- package/src/numbering-systems.generated.d.ts +0 -1
- package/src/numbering-systems.generated.js +0 -99
- package/src/timezones.generated.d.ts +0 -2
- package/src/timezones.generated.js +0 -431
- package/src/units.generated.d.ts +0 -2
- package/src/units.generated.js +0 -47
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { createMemoizedNumberFormat } from "@formatjs/ecma402-abstract";
|
|
2
|
-
import { numberingSystemNames } from "./numbering-systems.generated.js";
|
|
3
|
-
/**
|
|
4
|
-
* Implementation: Tests if a numbering system is supported by attempting to create
|
|
5
|
-
* a NumberFormat with that numbering system and verifying it was accepted.
|
|
6
|
-
*
|
|
7
|
-
* CLDR Data: Candidate values come from CLDR numbering system types
|
|
8
|
-
*/
|
|
9
|
-
function isSupportedNumberingSystem(system) {
|
|
10
|
-
try {
|
|
11
|
-
// Always use 'en' for testing
|
|
12
|
-
const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`);
|
|
13
|
-
const options = numberFormat.resolvedOptions().numberingSystem;
|
|
14
|
-
if (options === system && system === "latn" || numberFormat.format(123) !== "123") {
|
|
15
|
-
return true;
|
|
16
|
-
}
|
|
17
|
-
} catch {}
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* ECMA-402 Spec: Returns supported numbering system identifiers
|
|
22
|
-
* ECMA-402 Spec: Results must be sorted lexicographically
|
|
23
|
-
*
|
|
24
|
-
* Implementation: Filters CLDR list against actual runtime support
|
|
25
|
-
*/
|
|
26
|
-
export function getSupportedNumberingSystems() {
|
|
27
|
-
return numberingSystemNames.filter(isSupportedNumberingSystem).sort();
|
|
28
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Timezone } from "./timezones.generated.js";
|
|
2
|
-
/**
|
|
3
|
-
* ECMA-402 Spec: Returns supported timezone identifiers
|
|
4
|
-
* ECMA-402 Spec: Results must be sorted lexicographically
|
|
5
|
-
*
|
|
6
|
-
* Implementation: Filters CLDR list against actual runtime support
|
|
7
|
-
*/
|
|
8
|
-
export declare function getSupportedTimeZones(): Timezone[];
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { createMemoizedDateTimeFormat } from "./memoize.js";
|
|
2
|
-
import { timezones } from "./timezones.generated.js";
|
|
3
|
-
/**
|
|
4
|
-
* Implementation: Tests if a timezone is supported by attempting to create
|
|
5
|
-
* a DateTimeFormat with that timezone and verifying it was accepted.
|
|
6
|
-
*
|
|
7
|
-
* CLDR Data: Candidate values come from IANA Time Zone Database
|
|
8
|
-
*/
|
|
9
|
-
function isSupportedTimeZone(timeZone) {
|
|
10
|
-
try {
|
|
11
|
-
// Always use 'en' for testing
|
|
12
|
-
const formatter = createMemoizedDateTimeFormat("en", { timeZone });
|
|
13
|
-
return formatter.resolvedOptions().timeZone === timeZone;
|
|
14
|
-
} catch {}
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* ECMA-402 Spec: Returns supported timezone identifiers
|
|
19
|
-
* ECMA-402 Spec: Results must be sorted lexicographically
|
|
20
|
-
*
|
|
21
|
-
* Implementation: Filters CLDR list against actual runtime support
|
|
22
|
-
*/
|
|
23
|
-
export function getSupportedTimeZones() {
|
|
24
|
-
return timezones.filter(isSupportedTimeZone).sort();
|
|
25
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ECMA-402 Spec: Returns supported unit identifiers
|
|
3
|
-
* ECMA-402 Spec: Results must be sorted lexicographically
|
|
4
|
-
*
|
|
5
|
-
* Implementation: Filters CLDR list against actual runtime support
|
|
6
|
-
*/
|
|
7
|
-
export declare function getSupportedUnits(): ("degree" | "acre" | "hectare" | "percent" | "bit" | "byte" | "gigabit" | "gigabyte" | "kilobit" | "kilobyte" | "megabit" | "megabyte" | "petabyte" | "terabit" | "terabyte" | "day" | "hour" | "millisecond" | "minute" | "month" | "second" | "week" | "year" | "centimeter" | "foot" | "inch" | "kilometer" | "meter" | "mile-scandinavian" | "mile" | "millimeter" | "yard" | "gram" | "kilogram" | "ounce" | "pound" | "stone" | "celsius" | "fahrenheit" | "fluid-ounce" | "gallon" | "liter" | "milliliter")[];
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { createMemoizedNumberFormat } from "@formatjs/ecma402-abstract";
|
|
2
|
-
import { units } from "./units.generated.js";
|
|
3
|
-
/**
|
|
4
|
-
* Implementation: Tests if a unit is supported by attempting to create
|
|
5
|
-
* a NumberFormat with that unit and verifying it was accepted.
|
|
6
|
-
*
|
|
7
|
-
* CLDR Data: Candidate values come from CLDR unit types
|
|
8
|
-
*/
|
|
9
|
-
function isSupportedUnit(unit) {
|
|
10
|
-
try {
|
|
11
|
-
// Always use 'en' for testing
|
|
12
|
-
const formatter = createMemoizedNumberFormat("en", {
|
|
13
|
-
style: "unit",
|
|
14
|
-
unit
|
|
15
|
-
});
|
|
16
|
-
return formatter.resolvedOptions().unit === unit;
|
|
17
|
-
} catch {}
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* ECMA-402 Spec: Returns supported unit identifiers
|
|
22
|
-
* ECMA-402 Spec: Results must be sorted lexicographically
|
|
23
|
-
*
|
|
24
|
-
* Implementation: Filters CLDR list against actual runtime support
|
|
25
|
-
*/
|
|
26
|
-
export function getSupportedUnits() {
|
|
27
|
-
return units.filter(isSupportedUnit).sort();
|
|
28
|
-
}
|
package/src/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ECMA-402 Spec: Intl.supportedValuesOf
|
|
3
|
-
* https://tc39.es/ecma402/#sec-intl.supportedvaluesof
|
|
4
|
-
*/
|
|
5
|
-
declare global {
|
|
6
|
-
namespace Intl {
|
|
7
|
-
/**
|
|
8
|
-
* Returns an array containing the supported values for the given key.
|
|
9
|
-
* @param key - The category of values to return
|
|
10
|
-
* @returns A sorted array of strings
|
|
11
|
-
*/
|
|
12
|
-
function supportedValuesOf(key: "calendar" | "collation" | "currency" | "numberingSystem" | "timeZone" | "unit"): string[];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* ECMA-402 Spec: Supported value categories
|
|
17
|
-
*/
|
|
18
|
-
export type SupportedValuesOf = "calendar" | "collation" | "currency" | "numberingSystem" | "timeZone" | "unit";
|
|
19
|
-
/**
|
|
20
|
-
* ECMA-402 Spec: Intl.supportedValuesOf(key)
|
|
21
|
-
* https://tc39.es/ecma402/#sec-intl.supportedvaluesof
|
|
22
|
-
*
|
|
23
|
-
* Returns an array containing the supported calendar, collation, currency,
|
|
24
|
-
* numbering systems, time zone, or unit values supported by the implementation.
|
|
25
|
-
*
|
|
26
|
-
* Implementation: We validate candidate values from CLDR against the actual
|
|
27
|
-
* Intl formatters to determine runtime support rather than using static lists.
|
|
28
|
-
* This ensures accuracy across different JavaScript engines and runtimes.
|
|
29
|
-
*
|
|
30
|
-
* @param key - The category of values to return
|
|
31
|
-
* @returns A sorted array of unique string values
|
|
32
|
-
*/
|
|
33
|
-
export declare function supportedValuesOf(key: SupportedValuesOf): string[];
|
package/src/index.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { getSupportedCalendars } from "./get-supported-calendars.js";
|
|
2
|
-
import { getSupportedCollations } from "./get-supported-collations.js";
|
|
3
|
-
import { getSupportedCurrencies } from "./get-supported-currencies.js";
|
|
4
|
-
import { getSupportedNumberingSystems } from "./get-supported-numbering-systems.js";
|
|
5
|
-
import { getSupportedTimeZones } from "./get-supported-timezones.js";
|
|
6
|
-
import { getSupportedUnits } from "./get-supported-units.js";
|
|
7
|
-
/**
|
|
8
|
-
* ECMA-402 Spec: Intl.supportedValuesOf(key)
|
|
9
|
-
* https://tc39.es/ecma402/#sec-intl.supportedvaluesof
|
|
10
|
-
*
|
|
11
|
-
* Returns an array containing the supported calendar, collation, currency,
|
|
12
|
-
* numbering systems, time zone, or unit values supported by the implementation.
|
|
13
|
-
*
|
|
14
|
-
* Implementation: We validate candidate values from CLDR against the actual
|
|
15
|
-
* Intl formatters to determine runtime support rather than using static lists.
|
|
16
|
-
* This ensures accuracy across different JavaScript engines and runtimes.
|
|
17
|
-
*
|
|
18
|
-
* @param key - The category of values to return
|
|
19
|
-
* @returns A sorted array of unique string values
|
|
20
|
-
*/
|
|
21
|
-
export function supportedValuesOf(key) {
|
|
22
|
-
// ECMA-402 Spec: Dispatch to appropriate getter based on key
|
|
23
|
-
switch (key) {
|
|
24
|
-
case "calendar": return getSupportedCalendars();
|
|
25
|
-
case "collation": return getSupportedCollations();
|
|
26
|
-
case "currency": return getSupportedCurrencies();
|
|
27
|
-
case "numberingSystem": return getSupportedNumberingSystems();
|
|
28
|
-
case "timeZone": return getSupportedTimeZones();
|
|
29
|
-
case "unit": return getSupportedUnits();
|
|
30
|
-
default:
|
|
31
|
-
// ECMA-402 Spec: Throw RangeError for invalid keys
|
|
32
|
-
throw RangeError("Invalid key: " + key);
|
|
33
|
-
}
|
|
34
|
-
}
|
package/src/memoize.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Implementation: Memoized factory for Intl.DateTimeFormat instances
|
|
3
|
-
*
|
|
4
|
-
* Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.
|
|
5
|
-
* This is critical for performance since we test many candidate values against formatters.
|
|
6
|
-
*
|
|
7
|
-
* Uses variadic memoization strategy to handle varying numbers of constructor arguments.
|
|
8
|
-
*/
|
|
9
|
-
export declare const createMemoizedDateTimeFormat: (...args: ConstructorParameters<typeof Intl.DateTimeFormat>) => Intl.DateTimeFormat;
|
package/src/memoize.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { memoize, strategies } from "@formatjs/fast-memoize";
|
|
2
|
-
/**
|
|
3
|
-
* Implementation: Memoized factory for Intl.DateTimeFormat instances
|
|
4
|
-
*
|
|
5
|
-
* Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.
|
|
6
|
-
* This is critical for performance since we test many candidate values against formatters.
|
|
7
|
-
*
|
|
8
|
-
* Uses variadic memoization strategy to handle varying numbers of constructor arguments.
|
|
9
|
-
*/
|
|
10
|
-
export const createMemoizedDateTimeFormat = memoize((...args) => new Intl.DateTimeFormat(...args), { strategy: strategies.variadic });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const numberingSystemNames: ReadonlyArray<string>;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
export const numberingSystemNames = [
|
|
2
|
-
"adlm",
|
|
3
|
-
"ahom",
|
|
4
|
-
"arab",
|
|
5
|
-
"arabext",
|
|
6
|
-
"armn",
|
|
7
|
-
"armnlow",
|
|
8
|
-
"bali",
|
|
9
|
-
"beng",
|
|
10
|
-
"bhks",
|
|
11
|
-
"brah",
|
|
12
|
-
"cakm",
|
|
13
|
-
"cham",
|
|
14
|
-
"cyrl",
|
|
15
|
-
"deva",
|
|
16
|
-
"diak",
|
|
17
|
-
"ethi",
|
|
18
|
-
"fullwide",
|
|
19
|
-
"gara",
|
|
20
|
-
"geor",
|
|
21
|
-
"gong",
|
|
22
|
-
"gonm",
|
|
23
|
-
"grek",
|
|
24
|
-
"greklow",
|
|
25
|
-
"gujr",
|
|
26
|
-
"gukh",
|
|
27
|
-
"guru",
|
|
28
|
-
"hanidays",
|
|
29
|
-
"hanidec",
|
|
30
|
-
"hans",
|
|
31
|
-
"hansfin",
|
|
32
|
-
"hant",
|
|
33
|
-
"hantfin",
|
|
34
|
-
"hebr",
|
|
35
|
-
"hmng",
|
|
36
|
-
"hmnp",
|
|
37
|
-
"java",
|
|
38
|
-
"jpan",
|
|
39
|
-
"jpanfin",
|
|
40
|
-
"jpanyear",
|
|
41
|
-
"kali",
|
|
42
|
-
"kawi",
|
|
43
|
-
"khmr",
|
|
44
|
-
"knda",
|
|
45
|
-
"krai",
|
|
46
|
-
"lana",
|
|
47
|
-
"lanatham",
|
|
48
|
-
"laoo",
|
|
49
|
-
"latn",
|
|
50
|
-
"lepc",
|
|
51
|
-
"limb",
|
|
52
|
-
"mathbold",
|
|
53
|
-
"mathdbl",
|
|
54
|
-
"mathmono",
|
|
55
|
-
"mathsanb",
|
|
56
|
-
"mathsans",
|
|
57
|
-
"mlym",
|
|
58
|
-
"modi",
|
|
59
|
-
"mong",
|
|
60
|
-
"mroo",
|
|
61
|
-
"mtei",
|
|
62
|
-
"mymr",
|
|
63
|
-
"mymrepka",
|
|
64
|
-
"mymrpao",
|
|
65
|
-
"mymrshan",
|
|
66
|
-
"mymrtlng",
|
|
67
|
-
"nagm",
|
|
68
|
-
"newa",
|
|
69
|
-
"nkoo",
|
|
70
|
-
"olck",
|
|
71
|
-
"onao",
|
|
72
|
-
"orya",
|
|
73
|
-
"osma",
|
|
74
|
-
"outlined",
|
|
75
|
-
"rohg",
|
|
76
|
-
"roman",
|
|
77
|
-
"romanlow",
|
|
78
|
-
"saur",
|
|
79
|
-
"segment",
|
|
80
|
-
"shrd",
|
|
81
|
-
"sind",
|
|
82
|
-
"sinh",
|
|
83
|
-
"sora",
|
|
84
|
-
"sund",
|
|
85
|
-
"sunu",
|
|
86
|
-
"takr",
|
|
87
|
-
"talu",
|
|
88
|
-
"taml",
|
|
89
|
-
"tamldec",
|
|
90
|
-
"telu",
|
|
91
|
-
"thai",
|
|
92
|
-
"tibt",
|
|
93
|
-
"tirh",
|
|
94
|
-
"tnsa",
|
|
95
|
-
"tols",
|
|
96
|
-
"vaii",
|
|
97
|
-
"wara",
|
|
98
|
-
"wcho"
|
|
99
|
-
];
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const timezones: readonly ["Africa/Abidjan", "Africa/Accra", "Africa/Addis_Ababa", "Africa/Algiers", "Africa/Asmara", "Africa/Bamako", "Africa/Bangui", "Africa/Banjul", "Africa/Bissau", "Africa/Blantyre", "Africa/Brazzaville", "Africa/Bujumbura", "Africa/Cairo", "Africa/Casablanca", "Africa/Ceuta", "Africa/Conakry", "Africa/Dakar", "Africa/Dar_es_Salaam", "Africa/Djibouti", "Africa/Douala", "Africa/El_Aaiun", "Africa/Freetown", "Africa/Gaborone", "Africa/Harare", "Africa/Johannesburg", "Africa/Juba", "Africa/Kampala", "Africa/Khartoum", "Africa/Kigali", "Africa/Kinshasa", "Africa/Lagos", "Africa/Libreville", "Africa/Lome", "Africa/Luanda", "Africa/Lubumbashi", "Africa/Lusaka", "Africa/Malabo", "Africa/Maputo", "Africa/Maseru", "Africa/Mbabane", "Africa/Mogadishu", "Africa/Monrovia", "Africa/Nairobi", "Africa/Ndjamena", "Africa/Niamey", "Africa/Nouakchott", "Africa/Ouagadougou", "Africa/Porto-Novo", "Africa/Sao_Tome", "Africa/Tripoli", "Africa/Tunis", "Africa/Windhoek", "America/Adak", "America/Anchorage", "America/Anguilla", "America/Antigua", "America/Araguaina", "America/Argentina/Buenos_Aires", "America/Argentina/Catamarca", "America/Argentina/Cordoba", "America/Argentina/Jujuy", "America/Argentina/La_Rioja", "America/Argentina/Mendoza", "America/Argentina/Rio_Gallegos", "America/Argentina/Salta", "America/Argentina/San_Juan", "America/Argentina/San_Luis", "America/Argentina/Tucuman", "America/Argentina/Ushuaia", "America/Aruba", "America/Asuncion", "America/Atikokan", "America/Bahia_Banderas", "America/Bahia", "America/Barbados", "America/Belem", "America/Belize", "America/Blanc-Sablon", "America/Boa_Vista", "America/Bogota", "America/Boise", "America/Cambridge_Bay", "America/Campo_Grande", "America/Cancun", "America/Caracas", "America/Cayenne", "America/Cayman", "America/Chicago", "America/Chihuahua", "America/Ciudad_Juarez", "America/Costa_Rica", "America/Coyhaique", "America/Creston", "America/Cuiaba", "America/Curacao", "America/Danmarkshavn", "America/Dawson_Creek", "America/Dawson", "America/Denver", "America/Detroit", "America/Dominica", "America/Edmonton", "America/Eirunepe", "America/El_Salvador", "America/Fort_Nelson", "America/Fortaleza", "America/Glace_Bay", "America/Goose_Bay", "America/Grand_Turk", "America/Grenada", "America/Guadeloupe", "America/Guatemala", "America/Guayaquil", "America/Guyana", "America/Halifax", "America/Havana", "America/Hermosillo", "America/Indiana/Indianapolis", "America/Indiana/Knox", "America/Indiana/Marengo", "America/Indiana/Petersburg", "America/Indiana/Tell_City", "America/Indiana/Vevay", "America/Indiana/Vincennes", "America/Indiana/Winamac", "America/Inuvik", "America/Iqaluit", "America/Jamaica", "America/Juneau", "America/Kentucky/Louisville", "America/Kentucky/Monticello", "America/Kralendijk", "America/La_Paz", "America/Lima", "America/Los_Angeles", "America/Lower_Princes", "America/Maceio", "America/Managua", "America/Manaus", "America/Marigot", "America/Martinique", "America/Matamoros", "America/Mazatlan", "America/Menominee", "America/Merida", "America/Metlakatla", "America/Mexico_City", "America/Miquelon", "America/Moncton", "America/Monterrey", "America/Montevideo", "America/Montserrat", "America/Nassau", "America/New_York", "America/Nipigon", "America/Nome", "America/Noronha", "America/North_Dakota/Beulah", "America/North_Dakota/Center", "America/North_Dakota/New_Salem", "America/Nuuk", "America/Ojinaga", "America/Panama", "America/Pangnirtung", "America/Paramaribo", "America/Phoenix", "America/Port_of_Spain", "America/Port-au-Prince", "America/Porto_Velho", "America/Puerto_Rico", "America/Punta_Arenas", "America/Rainy_River", "America/Rankin_Inlet", "America/Recife", "America/Regina", "America/Resolute", "America/Rio_Branco", "America/Santarem", "America/Santiago", "America/Santo_Domingo", "America/Sao_Paulo", "America/Scoresbysund", "America/Sitka", "America/St_Barthelemy", "America/St_Johns", "America/St_Kitts", "America/St_Lucia", "America/St_Thomas", "America/St_Vincent", "America/Swift_Current", "America/Tegucigalpa", "America/Thule", "America/Thunder_Bay", "America/Tijuana", "America/Toronto", "America/Tortola", "America/Vancouver", "America/Whitehorse", "America/Winnipeg", "America/Yakutat", "America/Yellowknife", "Antarctica/Casey", "Antarctica/Davis", "Antarctica/DumontDUrville", "Antarctica/Macquarie", "Antarctica/Mawson", "Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Rothera", "Antarctica/Syowa", "Antarctica/Troll", "Antarctica/Vostok", "Arctic/Longyearbyen", "Asia/Aden", "Asia/Almaty", "Asia/Amman", "Asia/Anadyr", "Asia/Aqtau", "Asia/Aqtobe", "Asia/Ashgabat", "Asia/Atyrau", "Asia/Baghdad", "Asia/Bahrain", "Asia/Baku", "Asia/Bangkok", "Asia/Barnaul", "Asia/Beirut", "Asia/Bishkek", "Asia/Brunei", "Asia/Chita", "Asia/Choibalsan", "Asia/Colombo", "Asia/Damascus", "Asia/Dhaka", "Asia/Dili", "Asia/Dubai", "Asia/Dushanbe", "Asia/Famagusta", "Asia/Gaza", "Asia/Hebron", "Asia/Ho_Chi_Minh", "Asia/Hong_Kong", "Asia/Hovd", "Asia/Irkutsk", "Asia/Jakarta", "Asia/Jayapura", "Asia/Jerusalem", "Asia/Kabul", "Asia/Kamchatka", "Asia/Karachi", "Asia/Kathmandu", "Asia/Khandyga", "Asia/Kolkata", "Asia/Krasnoyarsk", "Asia/Kuala_Lumpur", "Asia/Kuching", "Asia/Kuwait", "Asia/Macau", "Asia/Magadan", "Asia/Makassar", "Asia/Manila", "Asia/Muscat", "Asia/Nicosia", "Asia/Novokuznetsk", "Asia/Novosibirsk", "Asia/Omsk", "Asia/Oral", "Asia/Phnom_Penh", "Asia/Pontianak", "Asia/Pyongyang", "Asia/Qatar", "Asia/Qostanay", "Asia/Qyzylorda", "Asia/Riyadh", "Asia/Sakhalin", "Asia/Samarkand", "Asia/Seoul", "Asia/Shanghai", "Asia/Singapore", "Asia/Srednekolymsk", "Asia/Taipei", "Asia/Tashkent", "Asia/Tbilisi", "Asia/Tehran", "Asia/Thimphu", "Asia/Tokyo", "Asia/Tomsk", "Asia/Ulaanbaatar", "Asia/Urumqi", "Asia/Ust-Nera", "Asia/Vientiane", "Asia/Vladivostok", "Asia/Yakutsk", "Asia/Yangon", "Asia/Yekaterinburg", "Asia/Yerevan", "Atlantic/Azores", "Atlantic/Bermuda", "Atlantic/Canary", "Atlantic/Cape_Verde", "Atlantic/Faroe", "Atlantic/Madeira", "Atlantic/Reykjavik", "Atlantic/South_Georgia", "Atlantic/St_Helena", "Atlantic/Stanley", "Australia/Adelaide", "Australia/Brisbane", "Australia/Broken_Hill", "Australia/Currie", "Australia/Darwin", "Australia/Eucla", "Australia/Hobart", "Australia/Lindeman", "Australia/Lord_Howe", "Australia/Melbourne", "Australia/Perth", "Australia/Sydney", "Europe/Amsterdam", "Europe/Andorra", "Europe/Astrakhan", "Europe/Athens", "Europe/Belgrade", "Europe/Berlin", "Europe/Bratislava", "Europe/Brussels", "Europe/Bucharest", "Europe/Budapest", "Europe/Busingen", "Europe/Chisinau", "Europe/Copenhagen", "Europe/Dublin", "Europe/Gibraltar", "Europe/Guernsey", "Europe/Helsinki", "Europe/Isle_of_Man", "Europe/Istanbul", "Europe/Jersey", "Europe/Kaliningrad", "Europe/Kyiv", "Europe/Kirov", "Europe/Lisbon", "Europe/Ljubljana", "Europe/London", "Europe/Luxembourg", "Europe/Madrid", "Europe/Malta", "Europe/Mariehamn", "Europe/Minsk", "Europe/Monaco", "Europe/Moscow", "Europe/Oslo", "Europe/Paris", "Europe/Podgorica", "Europe/Prague", "Europe/Riga", "Europe/Rome", "Europe/Samara", "Europe/San_Marino", "Europe/Sarajevo", "Europe/Saratov", "Europe/Simferopol", "Europe/Skopje", "Europe/Sofia", "Europe/Stockholm", "Europe/Tallinn", "Europe/Tirane", "Europe/Ulyanovsk", "Europe/Uzhgorod", "Europe/Vaduz", "Europe/Vatican", "Europe/Vienna", "Europe/Vilnius", "Europe/Volgograd", "Europe/Warsaw", "Europe/Zagreb", "Europe/Zaporozhye", "Europe/Zurich", "Indian/Antananarivo", "Indian/Chagos", "Indian/Christmas", "Indian/Cocos", "Indian/Comoro", "Indian/Kerguelen", "Indian/Mahe", "Indian/Maldives", "Indian/Mauritius", "Indian/Mayotte", "Indian/Reunion", "Pacific/Apia", "Pacific/Auckland", "Pacific/Bougainville", "Pacific/Chatham", "Pacific/Chuuk", "Pacific/Easter", "Pacific/Efate", "Pacific/Kanton", "Pacific/Fakaofo", "Pacific/Fiji", "Pacific/Funafuti", "Pacific/Galapagos", "Pacific/Gambier", "Pacific/Guadalcanal", "Pacific/Guam", "Pacific/Honolulu", "Pacific/Kiritimati", "Pacific/Kosrae", "Pacific/Kwajalein", "Pacific/Majuro", "Pacific/Marquesas", "Pacific/Midway", "Pacific/Nauru", "Pacific/Niue", "Pacific/Norfolk", "Pacific/Noumea", "Pacific/Pago_Pago", "Pacific/Palau", "Pacific/Pitcairn", "Pacific/Pohnpei", "Pacific/Port_Moresby", "Pacific/Rarotonga", "Pacific/Saipan", "Pacific/Tahiti", "Pacific/Tarawa", "Pacific/Tongatapu", "Pacific/Wake", "Pacific/Wallis"];
|
|
2
|
-
export type Timezone = (typeof timezones)[number];
|