Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-timezone

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-timezone - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

yarn-error.log

133

dist/generateTimezones.js

@@ -57,89 +57,48 @@ "use strict";

.map(function (timezone) { return "\"" + timezone + "\""; })
.join(",") + "]\n\nexport const TimezoneValues = { " + timezones
.map(function (timezone) { return timezone
.replace("GMT-0", "GMTMinus0")
.replace("Etc/GMT+0", "EtcGMTPlus0")
.replace("Etc/GMT+1", "EtcGMTPlus1")
.replace("Etc/GMT+10", "EtcGMTPlus10")
.replace("Etc/GMT+11", "EtcGMTPlus11")
.replace("Etc/GMT+12", "EtcGMTPlus12")
.replace("Etc/GMT+2", "EtcGMTPlus2")
.replace("Etc/GMT+3", "EtcGMTPlus3")
.replace("Etc/GMT+4", "EtcGMTPlus4")
.replace("Etc/GMT+5", "EtcGMTPlus5")
.replace("Etc/GMT+6", "EtcGMTPlus6")
.replace("Etc/GMT+7", "EtcGMTPlus7")
.replace("Etc/GMT+8", "EtcGMTPlus8")
.replace("Etc/GMT+9", "EtcGMTPlus9")
.replace("Etc/GMT-0", "EtcGMTMinus0")
.replace("Etc/GMT-1", "EtcGMTMinus1")
.replace("Etc/GMT-10", "EtcGMTMinus10")
.replace("Etc/GMT-11", "EtcGMTMinus11")
.replace("Etc/GMT-12", "EtcGMTMinus12")
.replace("Etc/GMT-13", "EtcGMTMinus13")
.replace("Etc/GMT-14", "EtcGMTMinus14")
.replace("Etc/GMT-2", "EtcGMTMinus2")
.replace("Etc/GMT-3", "EtcGMTMinus3")
.replace("Etc/GMT-4", "EtcGMTMinus4")
.replace("Etc/GMT-5", "EtcGMTMinus5")
.replace("Etc/GMT-6", "EtcGMTMinus6")
.replace("Etc/GMT-7", "EtcGMTMinus7")
.replace("Etc/GMT-8", "EtcGMTMinus8")
.replace("Etc/GMT-9", "EtcGMTMinus9")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("-", "")
.replace("-", "")
.replace("-", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("+", "Plus") + ": {\n value: \"" + timezone + "\",\n description: \"" + timezone + "\"\n }"; })
.join(",") + " }\n\nexport const timezoneOptions = [ " + timezones
.map(function (timezone) { return "{\n label: \"" + timezone + "\",\n value: \"" + timezone
.replace("GMT-0", "GMTMinus0")
.replace("Etc/GMT+0", "EtcGMTPlus0")
.replace("Etc/GMT+1", "EtcGMTPlus1")
.replace("Etc/GMT+10", "EtcGMTPlus10")
.replace("Etc/GMT+11", "EtcGMTPlus11")
.replace("Etc/GMT+12", "EtcGMTPlus12")
.replace("Etc/GMT+2", "EtcGMTPlus2")
.replace("Etc/GMT+3", "EtcGMTPlus3")
.replace("Etc/GMT+4", "EtcGMTPlus4")
.replace("Etc/GMT+5", "EtcGMTPlus5")
.replace("Etc/GMT+6", "EtcGMTPlus6")
.replace("Etc/GMT+7", "EtcGMTPlus7")
.replace("Etc/GMT+8", "EtcGMTPlus8")
.replace("Etc/GMT+9", "EtcGMTPlus9")
.replace("Etc/GMT-0", "EtcGMTMinus0")
.replace("Etc/GMT-1", "EtcGMTMinus1")
.replace("Etc/GMT-10", "EtcGMTMinus10")
.replace("Etc/GMT-11", "EtcGMTMinus11")
.replace("Etc/GMT-12", "EtcGMTMinus12")
.replace("Etc/GMT-13", "EtcGMTMinus13")
.replace("Etc/GMT-14", "EtcGMTMinus14")
.replace("Etc/GMT-2", "EtcGMTMinus2")
.replace("Etc/GMT-3", "EtcGMTMinus3")
.replace("Etc/GMT-4", "EtcGMTMinus4")
.replace("Etc/GMT-5", "EtcGMTMinus5")
.replace("Etc/GMT-6", "EtcGMTMinus6")
.replace("Etc/GMT-7", "EtcGMTMinus7")
.replace("Etc/GMT-8", "EtcGMTMinus8")
.replace("Etc/GMT-9", "EtcGMTMinus9")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("-", "")
.replace("-", "")
.replace("-", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("+", "Plus") + "\"\n }"; })
.join(",") + " ]", function () { })];
.join(",") + "]\n\nexport enum Timezone { " + timezones
.map(function (timezone) {
return timezone
.replace("GMT-0", "GMTMinus0")
.replace("Etc/GMT+0", "EtcGMTPlus0")
.replace("Etc/GMT+1", "EtcGMTPlus1")
.replace("Etc/GMT+10", "EtcGMTPlus10")
.replace("Etc/GMT+11", "EtcGMTPlus11")
.replace("Etc/GMT+12", "EtcGMTPlus12")
.replace("Etc/GMT+2", "EtcGMTPlus2")
.replace("Etc/GMT+3", "EtcGMTPlus3")
.replace("Etc/GMT+4", "EtcGMTPlus4")
.replace("Etc/GMT+5", "EtcGMTPlus5")
.replace("Etc/GMT+6", "EtcGMTPlus6")
.replace("Etc/GMT+7", "EtcGMTPlus7")
.replace("Etc/GMT+8", "EtcGMTPlus8")
.replace("Etc/GMT+9", "EtcGMTPlus9")
.replace("Etc/GMT-0", "EtcGMTMinus0")
.replace("Etc/GMT-1", "EtcGMTMinus1")
.replace("Etc/GMT-10", "EtcGMTMinus10")
.replace("Etc/GMT-11", "EtcGMTMinus11")
.replace("Etc/GMT-12", "EtcGMTMinus12")
.replace("Etc/GMT-13", "EtcGMTMinus13")
.replace("Etc/GMT-14", "EtcGMTMinus14")
.replace("Etc/GMT-2", "EtcGMTMinus2")
.replace("Etc/GMT-3", "EtcGMTMinus3")
.replace("Etc/GMT-4", "EtcGMTMinus4")
.replace("Etc/GMT-5", "EtcGMTMinus5")
.replace("Etc/GMT-6", "EtcGMTMinus6")
.replace("Etc/GMT-7", "EtcGMTMinus7")
.replace("Etc/GMT-8", "EtcGMTMinus8")
.replace("Etc/GMT-9", "EtcGMTMinus9")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("-", "")
.replace("-", "")
.replace("-", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("+", "Plus") + " = \"" + timezone + "\"";
})
.join(",") + " }", function () { })];
case 3:

@@ -146,0 +105,0 @@ _a.sent();

@@ -1,2 +0,1 @@

import { GraphQLEnumType } from 'graphql';
declare type Props = {

@@ -6,5 +5,4 @@ name?: string;

};
declare const _default: ({ name, description }?: Props) => GraphQLEnumType;
declare const _default: ({ name, description }?: Props) => import("graphql").GraphQLScalarType;
export default _default;
export declare const enumToString: (enumik: string) => string | undefined;
export { timezones, timezoneOptions } from "./timezones";
export { timezones, Timezone } from "./timezones";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.timezoneOptions = exports.timezones = exports.enumToString = void 0;
var graphql_1 = require("graphql");
exports.Timezone = exports.timezones = void 0;
var graphql_scalar_1 = require("graphql-scalar");
var timezones_1 = require("./timezones");
exports.default = (function (_a) {
var _b = _a === void 0 ? {} : _a, name = _b.name, description = _b.description;
return new graphql_1.GraphQLEnumType({
return graphql_scalar_1.createStringScalar({
// @ts-ignore
name: name || "Timezone",
description: description,
values: timezones_1.TimezoneValues,
description: description ||
'Accepts any valid timezone. List of available [timezones is here](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) (column "TZ database name").',
nonEmpty: true,
trim: true,
// @ts-ignore
validate: function (value) { return timezones_1.timezones.includes(value); },
});
});
exports.enumToString = function (enumik) {
var object = timezones_1.timezoneOptions.find(function (item) { return item.value === enumik; });
if (object)
return object.label;
return undefined;
};
var timezones_2 = require("./timezones");
Object.defineProperty(exports, "timezones", { enumerable: true, get: function () { return timezones_2.timezones; } });
Object.defineProperty(exports, "timezoneOptions", { enumerable: true, get: function () { return timezones_2.timezoneOptions; } });
Object.defineProperty(exports, "Timezone", { enumerable: true, get: function () { return timezones_2.Timezone; } });
export declare const timezones: string[];
export declare const TimezoneValues: {
AfricaAbidjan: {
value: string;
description: string;
};
AfricaAccra: {
value: string;
description: string;
};
AfricaAddisAbaba: {
value: string;
description: string;
};
AfricaAlgiers: {
value: string;
description: string;
};
AfricaAsmara: {
value: string;
description: string;
};
AfricaAsmera: {
value: string;
description: string;
};
AfricaBamako: {
value: string;
description: string;
};
AfricaBangui: {
value: string;
description: string;
};
AfricaBanjul: {
value: string;
description: string;
};
AfricaBissau: {
value: string;
description: string;
};
AfricaBlantyre: {
value: string;
description: string;
};
AfricaBrazzaville: {
value: string;
description: string;
};
AfricaBujumbura: {
value: string;
description: string;
};
AfricaCairo: {
value: string;
description: string;
};
AfricaCasablanca: {
value: string;
description: string;
};
AfricaCeuta: {
value: string;
description: string;
};
AfricaConakry: {
value: string;
description: string;
};
AfricaDakar: {
value: string;
description: string;
};
AfricaDaresSalaam: {
value: string;
description: string;
};
AfricaDjibouti: {
value: string;
description: string;
};
AfricaDouala: {
value: string;
description: string;
};
AfricaElAaiun: {
value: string;
description: string;
};
AfricaFreetown: {
value: string;
description: string;
};
AfricaGaborone: {
value: string;
description: string;
};
AfricaHarare: {
value: string;
description: string;
};
AfricaJohannesburg: {
value: string;
description: string;
};
AfricaJuba: {
value: string;
description: string;
};
AfricaKampala: {
value: string;
description: string;
};
AfricaKhartoum: {
value: string;
description: string;
};
AfricaKigali: {
value: string;
description: string;
};
AfricaKinshasa: {
value: string;
description: string;
};
AfricaLagos: {
value: string;
description: string;
};
AfricaLibreville: {
value: string;
description: string;
};
AfricaLome: {
value: string;
description: string;
};
AfricaLuanda: {
value: string;
description: string;
};
AfricaLubumbashi: {
value: string;
description: string;
};
AfricaLusaka: {
value: string;
description: string;
};
AfricaMalabo: {
value: string;
description: string;
};
AfricaMaputo: {
value: string;
description: string;
};
AfricaMaseru: {
value: string;
description: string;
};
AfricaMbabane: {
value: string;
description: string;
};
AfricaMogadishu: {
value: string;
description: string;
};
AfricaMonrovia: {
value: string;
description: string;
};
AfricaNairobi: {
value: string;
description: string;
};
AfricaNdjamena: {
value: string;
description: string;
};
AfricaNiamey: {
value: string;
description: string;
};
AfricaNouakchott: {
value: string;
description: string;
};
AfricaOuagadougou: {
value: string;
description: string;
};
AfricaPortoNovo: {
value: string;
description: string;
};
AfricaSaoTome: {
value: string;
description: string;
};
AfricaTimbuktu: {
value: string;
description: string;
};
AfricaTripoli: {
value: string;
description: string;
};
AfricaTunis: {
value: string;
description: string;
};
AfricaWindhoek: {
value: string;
description: string;
};
AmericaAdak: {
value: string;
description: string;
};
AmericaAnchorage: {
value: string;
description: string;
};
AmericaAnguilla: {
value: string;
description: string;
};
AmericaAntigua: {
value: string;
description: string;
};
AmericaAraguaina: {
value: string;
description: string;
};
AmericaArgentinaBuenosAires: {
value: string;
description: string;
};
AmericaArgentinaCatamarca: {
value: string;
description: string;
};
AmericaArgentinaComodRivadavia: {
value: string;
description: string;
};
AmericaArgentinaCordoba: {
value: string;
description: string;
};
AmericaArgentinaJujuy: {
value: string;
description: string;
};
AmericaArgentinaLaRioja: {
value: string;
description: string;
};
AmericaArgentinaMendoza: {
value: string;
description: string;
};
AmericaArgentinaRioGallegos: {
value: string;
description: string;
};
AmericaArgentinaSalta: {
value: string;
description: string;
};
AmericaArgentinaSanJuan: {
value: string;
description: string;
};
AmericaArgentinaSanLuis: {
value: string;
description: string;
};
AmericaArgentinaTucuman: {
value: string;
description: string;
};
AmericaArgentinaUshuaia: {
value: string;
description: string;
};
AmericaAruba: {
value: string;
description: string;
};
AmericaAsuncion: {
value: string;
description: string;
};
AmericaAtikokan: {
value: string;
description: string;
};
AmericaAtka: {
value: string;
description: string;
};
AmericaBahia: {
value: string;
description: string;
};
AmericaBahiaBanderas: {
value: string;
description: string;
};
AmericaBarbados: {
value: string;
description: string;
};
AmericaBelem: {
value: string;
description: string;
};
AmericaBelize: {
value: string;
description: string;
};
AmericaBlancSablon: {
value: string;
description: string;
};
AmericaBoaVista: {
value: string;
description: string;
};
AmericaBogota: {
value: string;
description: string;
};
AmericaBoise: {
value: string;
description: string;
};
AmericaBuenosAires: {
value: string;
description: string;
};
AmericaCambridgeBay: {
value: string;
description: string;
};
AmericaCampoGrande: {
value: string;
description: string;
};
AmericaCancun: {
value: string;
description: string;
};
AmericaCaracas: {
value: string;
description: string;
};
AmericaCatamarca: {
value: string;
description: string;
};
AmericaCayenne: {
value: string;
description: string;
};
AmericaCayman: {
value: string;
description: string;
};
AmericaChicago: {
value: string;
description: string;
};
AmericaChihuahua: {
value: string;
description: string;
};
AmericaCoralHarbour: {
value: string;
description: string;
};
AmericaCordoba: {
value: string;
description: string;
};
AmericaCostaRica: {
value: string;
description: string;
};
AmericaCreston: {
value: string;
description: string;
};
AmericaCuiaba: {
value: string;
description: string;
};
AmericaCuracao: {
value: string;
description: string;
};
AmericaDanmarkshavn: {
value: string;
description: string;
};
AmericaDawson: {
value: string;
description: string;
};
AmericaDawsonCreek: {
value: string;
description: string;
};
AmericaDenver: {
value: string;
description: string;
};
AmericaDetroit: {
value: string;
description: string;
};
AmericaDominica: {
value: string;
description: string;
};
AmericaEdmonton: {
value: string;
description: string;
};
AmericaEirunepe: {
value: string;
description: string;
};
AmericaElSalvador: {
value: string;
description: string;
};
AmericaEnsenada: {
value: string;
description: string;
};
AmericaFortNelson: {
value: string;
description: string;
};
AmericaFortWayne: {
value: string;
description: string;
};
AmericaFortaleza: {
value: string;
description: string;
};
AmericaGlaceBay: {
value: string;
description: string;
};
AmericaGodthab: {
value: string;
description: string;
};
AmericaGooseBay: {
value: string;
description: string;
};
AmericaGrandTurk: {
value: string;
description: string;
};
AmericaGrenada: {
value: string;
description: string;
};
AmericaGuadeloupe: {
value: string;
description: string;
};
AmericaGuatemala: {
value: string;
description: string;
};
AmericaGuayaquil: {
value: string;
description: string;
};
AmericaGuyana: {
value: string;
description: string;
};
AmericaHalifax: {
value: string;
description: string;
};
AmericaHavana: {
value: string;
description: string;
};
AmericaHermosillo: {
value: string;
description: string;
};
AmericaIndianaIndianapolis: {
value: string;
description: string;
};
AmericaIndianaKnox: {
value: string;
description: string;
};
AmericaIndianaMarengo: {
value: string;
description: string;
};
AmericaIndianaPetersburg: {
value: string;
description: string;
};
AmericaIndianaTellCity: {
value: string;
description: string;
};
AmericaIndianaVevay: {
value: string;
description: string;
};
AmericaIndianaVincennes: {
value: string;
description: string;
};
AmericaIndianaWinamac: {
value: string;
description: string;
};
AmericaIndianapolis: {
value: string;
description: string;
};
AmericaInuvik: {
value: string;
description: string;
};
AmericaIqaluit: {
value: string;
description: string;
};
AmericaJamaica: {
value: string;
description: string;
};
AmericaJujuy: {
value: string;
description: string;
};
AmericaJuneau: {
value: string;
description: string;
};
AmericaKentuckyLouisville: {
value: string;
description: string;
};
AmericaKentuckyMonticello: {
value: string;
description: string;
};
AmericaKnoxIN: {
value: string;
description: string;
};
AmericaKralendijk: {
value: string;
description: string;
};
AmericaLaPaz: {
value: string;
description: string;
};
AmericaLima: {
value: string;
description: string;
};
AmericaLosAngeles: {
value: string;
description: string;
};
AmericaLouisville: {
value: string;
description: string;
};
AmericaLowerPrinces: {
value: string;
description: string;
};
AmericaMaceio: {
value: string;
description: string;
};
AmericaManagua: {
value: string;
description: string;
};
AmericaManaus: {
value: string;
description: string;
};
AmericaMarigot: {
value: string;
description: string;
};
AmericaMartinique: {
value: string;
description: string;
};
AmericaMatamoros: {
value: string;
description: string;
};
AmericaMazatlan: {
value: string;
description: string;
};
AmericaMendoza: {
value: string;
description: string;
};
AmericaMenominee: {
value: string;
description: string;
};
AmericaMerida: {
value: string;
description: string;
};
AmericaMetlakatla: {
value: string;
description: string;
};
AmericaMexicoCity: {
value: string;
description: string;
};
AmericaMiquelon: {
value: string;
description: string;
};
AmericaMoncton: {
value: string;
description: string;
};
AmericaMonterrey: {
value: string;
description: string;
};
AmericaMontevideo: {
value: string;
description: string;
};
AmericaMontreal: {
value: string;
description: string;
};
AmericaMontserrat: {
value: string;
description: string;
};
AmericaNassau: {
value: string;
description: string;
};
AmericaNewYork: {
value: string;
description: string;
};
AmericaNipigon: {
value: string;
description: string;
};
AmericaNome: {
value: string;
description: string;
};
AmericaNoronha: {
value: string;
description: string;
};
AmericaNorthDakotaBeulah: {
value: string;
description: string;
};
AmericaNorthDakotaCenter: {
value: string;
description: string;
};
AmericaNorthDakotaNewSalem: {
value: string;
description: string;
};
AmericaNuuk: {
value: string;
description: string;
};
AmericaOjinaga: {
value: string;
description: string;
};
AmericaPanama: {
value: string;
description: string;
};
AmericaPangnirtung: {
value: string;
description: string;
};
AmericaParamaribo: {
value: string;
description: string;
};
AmericaPhoenix: {
value: string;
description: string;
};
AmericaPortauPrince: {
value: string;
description: string;
};
AmericaPortofSpain: {
value: string;
description: string;
};
AmericaPortoAcre: {
value: string;
description: string;
};
AmericaPortoVelho: {
value: string;
description: string;
};
AmericaPuertoRico: {
value: string;
description: string;
};
AmericaPuntaArenas: {
value: string;
description: string;
};
AmericaRainyRiver: {
value: string;
description: string;
};
AmericaRankinInlet: {
value: string;
description: string;
};
AmericaRecife: {
value: string;
description: string;
};
AmericaRegina: {
value: string;
description: string;
};
AmericaResolute: {
value: string;
description: string;
};
AmericaRioBranco: {
value: string;
description: string;
};
AmericaRosario: {
value: string;
description: string;
};
AmericaSantaIsabel: {
value: string;
description: string;
};
AmericaSantarem: {
value: string;
description: string;
};
AmericaSantiago: {
value: string;
description: string;
};
AmericaSantoDomingo: {
value: string;
description: string;
};
AmericaSaoPaulo: {
value: string;
description: string;
};
AmericaScoresbysund: {
value: string;
description: string;
};
AmericaShiprock: {
value: string;
description: string;
};
AmericaSitka: {
value: string;
description: string;
};
AmericaStBarthelemy: {
value: string;
description: string;
};
AmericaStJohns: {
value: string;
description: string;
};
AmericaStKitts: {
value: string;
description: string;
};
AmericaStLucia: {
value: string;
description: string;
};
AmericaStThomas: {
value: string;
description: string;
};
AmericaStVincent: {
value: string;
description: string;
};
AmericaSwiftCurrent: {
value: string;
description: string;
};
AmericaTegucigalpa: {
value: string;
description: string;
};
AmericaThule: {
value: string;
description: string;
};
AmericaThunderBay: {
value: string;
description: string;
};
AmericaTijuana: {
value: string;
description: string;
};
AmericaToronto: {
value: string;
description: string;
};
AmericaTortola: {
value: string;
description: string;
};
AmericaVancouver: {
value: string;
description: string;
};
AmericaVirgin: {
value: string;
description: string;
};
AmericaWhitehorse: {
value: string;
description: string;
};
AmericaWinnipeg: {
value: string;
description: string;
};
AmericaYakutat: {
value: string;
description: string;
};
AmericaYellowknife: {
value: string;
description: string;
};
AntarcticaCasey: {
value: string;
description: string;
};
AntarcticaDavis: {
value: string;
description: string;
};
AntarcticaDumontDUrville: {
value: string;
description: string;
};
AntarcticaMacquarie: {
value: string;
description: string;
};
AntarcticaMawson: {
value: string;
description: string;
};
AntarcticaMcMurdo: {
value: string;
description: string;
};
AntarcticaPalmer: {
value: string;
description: string;
};
AntarcticaRothera: {
value: string;
description: string;
};
AntarcticaSouthPole: {
value: string;
description: string;
};
AntarcticaSyowa: {
value: string;
description: string;
};
AntarcticaTroll: {
value: string;
description: string;
};
AntarcticaVostok: {
value: string;
description: string;
};
ArcticLongyearbyen: {
value: string;
description: string;
};
AsiaAden: {
value: string;
description: string;
};
AsiaAlmaty: {
value: string;
description: string;
};
AsiaAmman: {
value: string;
description: string;
};
AsiaAnadyr: {
value: string;
description: string;
};
AsiaAqtau: {
value: string;
description: string;
};
AsiaAqtobe: {
value: string;
description: string;
};
AsiaAshgabat: {
value: string;
description: string;
};
AsiaAshkhabad: {
value: string;
description: string;
};
AsiaAtyrau: {
value: string;
description: string;
};
AsiaBaghdad: {
value: string;
description: string;
};
AsiaBahrain: {
value: string;
description: string;
};
AsiaBaku: {
value: string;
description: string;
};
AsiaBangkok: {
value: string;
description: string;
};
AsiaBarnaul: {
value: string;
description: string;
};
AsiaBeirut: {
value: string;
description: string;
};
AsiaBishkek: {
value: string;
description: string;
};
AsiaBrunei: {
value: string;
description: string;
};
AsiaCalcutta: {
value: string;
description: string;
};
AsiaChita: {
value: string;
description: string;
};
AsiaChoibalsan: {
value: string;
description: string;
};
AsiaChongqing: {
value: string;
description: string;
};
AsiaChungking: {
value: string;
description: string;
};
AsiaColombo: {
value: string;
description: string;
};
AsiaDacca: {
value: string;
description: string;
};
AsiaDamascus: {
value: string;
description: string;
};
AsiaDhaka: {
value: string;
description: string;
};
AsiaDili: {
value: string;
description: string;
};
AsiaDubai: {
value: string;
description: string;
};
AsiaDushanbe: {
value: string;
description: string;
};
AsiaFamagusta: {
value: string;
description: string;
};
AsiaGaza: {
value: string;
description: string;
};
AsiaHarbin: {
value: string;
description: string;
};
AsiaHebron: {
value: string;
description: string;
};
AsiaHoChiMinh: {
value: string;
description: string;
};
AsiaHongKong: {
value: string;
description: string;
};
AsiaHovd: {
value: string;
description: string;
};
AsiaIrkutsk: {
value: string;
description: string;
};
AsiaIstanbul: {
value: string;
description: string;
};
AsiaJakarta: {
value: string;
description: string;
};
AsiaJayapura: {
value: string;
description: string;
};
AsiaJerusalem: {
value: string;
description: string;
};
AsiaKabul: {
value: string;
description: string;
};
AsiaKamchatka: {
value: string;
description: string;
};
AsiaKarachi: {
value: string;
description: string;
};
AsiaKashgar: {
value: string;
description: string;
};
AsiaKathmandu: {
value: string;
description: string;
};
AsiaKatmandu: {
value: string;
description: string;
};
AsiaKhandyga: {
value: string;
description: string;
};
AsiaKolkata: {
value: string;
description: string;
};
AsiaKrasnoyarsk: {
value: string;
description: string;
};
AsiaKualaLumpur: {
value: string;
description: string;
};
AsiaKuching: {
value: string;
description: string;
};
AsiaKuwait: {
value: string;
description: string;
};
AsiaMacao: {
value: string;
description: string;
};
AsiaMacau: {
value: string;
description: string;
};
AsiaMagadan: {
value: string;
description: string;
};
AsiaMakassar: {
value: string;
description: string;
};
AsiaManila: {
value: string;
description: string;
};
AsiaMuscat: {
value: string;
description: string;
};
AsiaNicosia: {
value: string;
description: string;
};
AsiaNovokuznetsk: {
value: string;
description: string;
};
AsiaNovosibirsk: {
value: string;
description: string;
};
AsiaOmsk: {
value: string;
description: string;
};
AsiaOral: {
value: string;
description: string;
};
AsiaPhnomPenh: {
value: string;
description: string;
};
AsiaPontianak: {
value: string;
description: string;
};
AsiaPyongyang: {
value: string;
description: string;
};
AsiaQatar: {
value: string;
description: string;
};
AsiaQostanay: {
value: string;
description: string;
};
AsiaQyzylorda: {
value: string;
description: string;
};
AsiaRangoon: {
value: string;
description: string;
};
AsiaRiyadh: {
value: string;
description: string;
};
AsiaSaigon: {
value: string;
description: string;
};
AsiaSakhalin: {
value: string;
description: string;
};
AsiaSamarkand: {
value: string;
description: string;
};
AsiaSeoul: {
value: string;
description: string;
};
AsiaShanghai: {
value: string;
description: string;
};
AsiaSingapore: {
value: string;
description: string;
};
AsiaSrednekolymsk: {
value: string;
description: string;
};
AsiaTaipei: {
value: string;
description: string;
};
AsiaTashkent: {
value: string;
description: string;
};
AsiaTbilisi: {
value: string;
description: string;
};
AsiaTehran: {
value: string;
description: string;
};
AsiaTelAviv: {
value: string;
description: string;
};
AsiaThimbu: {
value: string;
description: string;
};
AsiaThimphu: {
value: string;
description: string;
};
AsiaTokyo: {
value: string;
description: string;
};
AsiaTomsk: {
value: string;
description: string;
};
AsiaUjungPandang: {
value: string;
description: string;
};
AsiaUlaanbaatar: {
value: string;
description: string;
};
AsiaUlanBator: {
value: string;
description: string;
};
AsiaUrumqi: {
value: string;
description: string;
};
AsiaUstNera: {
value: string;
description: string;
};
AsiaVientiane: {
value: string;
description: string;
};
AsiaVladivostok: {
value: string;
description: string;
};
AsiaYakutsk: {
value: string;
description: string;
};
AsiaYangon: {
value: string;
description: string;
};
AsiaYekaterinburg: {
value: string;
description: string;
};
AsiaYerevan: {
value: string;
description: string;
};
AtlanticAzores: {
value: string;
description: string;
};
AtlanticBermuda: {
value: string;
description: string;
};
AtlanticCanary: {
value: string;
description: string;
};
AtlanticCapeVerde: {
value: string;
description: string;
};
AtlanticFaeroe: {
value: string;
description: string;
};
AtlanticFaroe: {
value: string;
description: string;
};
AtlanticJanMayen: {
value: string;
description: string;
};
AtlanticMadeira: {
value: string;
description: string;
};
AtlanticReykjavik: {
value: string;
description: string;
};
AtlanticSouthGeorgia: {
value: string;
description: string;
};
AtlanticStHelena: {
value: string;
description: string;
};
AtlanticStanley: {
value: string;
description: string;
};
AustraliaACT: {
value: string;
description: string;
};
AustraliaAdelaide: {
value: string;
description: string;
};
AustraliaBrisbane: {
value: string;
description: string;
};
AustraliaBrokenHill: {
value: string;
description: string;
};
AustraliaCanberra: {
value: string;
description: string;
};
AustraliaCurrie: {
value: string;
description: string;
};
AustraliaDarwin: {
value: string;
description: string;
};
AustraliaEucla: {
value: string;
description: string;
};
AustraliaHobart: {
value: string;
description: string;
};
AustraliaLHI: {
value: string;
description: string;
};
AustraliaLindeman: {
value: string;
description: string;
};
AustraliaLordHowe: {
value: string;
description: string;
};
AustraliaMelbourne: {
value: string;
description: string;
};
AustraliaNSW: {
value: string;
description: string;
};
AustraliaNorth: {
value: string;
description: string;
};
AustraliaPerth: {
value: string;
description: string;
};
AustraliaQueensland: {
value: string;
description: string;
};
AustraliaSouth: {
value: string;
description: string;
};
AustraliaSydney: {
value: string;
description: string;
};
AustraliaTasmania: {
value: string;
description: string;
};
AustraliaVictoria: {
value: string;
description: string;
};
AustraliaWest: {
value: string;
description: string;
};
AustraliaYancowinna: {
value: string;
description: string;
};
BrazilAcre: {
value: string;
description: string;
};
BrazilDeNoronha: {
value: string;
description: string;
};
BrazilEast: {
value: string;
description: string;
};
BrazilWest: {
value: string;
description: string;
};
CET: {
value: string;
description: string;
};
CST6CDT: {
value: string;
description: string;
};
CanadaAtlantic: {
value: string;
description: string;
};
CanadaCentral: {
value: string;
description: string;
};
CanadaEastern: {
value: string;
description: string;
};
CanadaMountain: {
value: string;
description: string;
};
CanadaNewfoundland: {
value: string;
description: string;
};
CanadaPacific: {
value: string;
description: string;
};
CanadaSaskatchewan: {
value: string;
description: string;
};
CanadaYukon: {
value: string;
description: string;
};
ChileContinental: {
value: string;
description: string;
};
ChileEasterIsland: {
value: string;
description: string;
};
Cuba: {
value: string;
description: string;
};
EET: {
value: string;
description: string;
};
EST: {
value: string;
description: string;
};
EST5EDT: {
value: string;
description: string;
};
Egypt: {
value: string;
description: string;
};
Eire: {
value: string;
description: string;
};
EtcGMT: {
value: string;
description: string;
};
EtcGMTPlus0: {
value: string;
description: string;
};
EtcGMTPlus1: {
value: string;
description: string;
};
EtcGMTPlus10: {
value: string;
description: string;
};
EtcGMTPlus11: {
value: string;
description: string;
};
EtcGMTPlus12: {
value: string;
description: string;
};
EtcGMTPlus2: {
value: string;
description: string;
};
EtcGMTPlus3: {
value: string;
description: string;
};
EtcGMTPlus4: {
value: string;
description: string;
};
EtcGMTPlus5: {
value: string;
description: string;
};
EtcGMTPlus6: {
value: string;
description: string;
};
EtcGMTPlus7: {
value: string;
description: string;
};
EtcGMTPlus8: {
value: string;
description: string;
};
EtcGMTPlus9: {
value: string;
description: string;
};
EtcGMTMinus0: {
value: string;
description: string;
};
EtcGMTMinus1: {
value: string;
description: string;
};
EtcGMTMinus10: {
value: string;
description: string;
};
EtcGMTMinus11: {
value: string;
description: string;
};
EtcGMTMinus12: {
value: string;
description: string;
};
EtcGMTMinus13: {
value: string;
description: string;
};
EtcGMTMinus14: {
value: string;
description: string;
};
EtcGMTMinus2: {
value: string;
description: string;
};
EtcGMTMinus3: {
value: string;
description: string;
};
EtcGMTMinus4: {
value: string;
description: string;
};
EtcGMTMinus5: {
value: string;
description: string;
};
EtcGMTMinus6: {
value: string;
description: string;
};
EtcGMTMinus7: {
value: string;
description: string;
};
EtcGMTMinus8: {
value: string;
description: string;
};
EtcGMTMinus9: {
value: string;
description: string;
};
EtcGMT0: {
value: string;
description: string;
};
EtcGreenwich: {
value: string;
description: string;
};
EtcUCT: {
value: string;
description: string;
};
EtcUTC: {
value: string;
description: string;
};
EtcUniversal: {
value: string;
description: string;
};
EtcZulu: {
value: string;
description: string;
};
EuropeAmsterdam: {
value: string;
description: string;
};
EuropeAndorra: {
value: string;
description: string;
};
EuropeAstrakhan: {
value: string;
description: string;
};
EuropeAthens: {
value: string;
description: string;
};
EuropeBelfast: {
value: string;
description: string;
};
EuropeBelgrade: {
value: string;
description: string;
};
EuropeBerlin: {
value: string;
description: string;
};
EuropeBratislava: {
value: string;
description: string;
};
EuropeBrussels: {
value: string;
description: string;
};
EuropeBucharest: {
value: string;
description: string;
};
EuropeBudapest: {
value: string;
description: string;
};
EuropeBusingen: {
value: string;
description: string;
};
EuropeChisinau: {
value: string;
description: string;
};
EuropeCopenhagen: {
value: string;
description: string;
};
EuropeDublin: {
value: string;
description: string;
};
EuropeGibraltar: {
value: string;
description: string;
};
EuropeGuernsey: {
value: string;
description: string;
};
EuropeHelsinki: {
value: string;
description: string;
};
EuropeIsleofMan: {
value: string;
description: string;
};
EuropeIstanbul: {
value: string;
description: string;
};
EuropeJersey: {
value: string;
description: string;
};
EuropeKaliningrad: {
value: string;
description: string;
};
EuropeKiev: {
value: string;
description: string;
};
EuropeKirov: {
value: string;
description: string;
};
EuropeLisbon: {
value: string;
description: string;
};
EuropeLjubljana: {
value: string;
description: string;
};
EuropeLondon: {
value: string;
description: string;
};
EuropeLuxembourg: {
value: string;
description: string;
};
EuropeMadrid: {
value: string;
description: string;
};
EuropeMalta: {
value: string;
description: string;
};
EuropeMariehamn: {
value: string;
description: string;
};
EuropeMinsk: {
value: string;
description: string;
};
EuropeMonaco: {
value: string;
description: string;
};
EuropeMoscow: {
value: string;
description: string;
};
EuropeNicosia: {
value: string;
description: string;
};
EuropeOslo: {
value: string;
description: string;
};
EuropeParis: {
value: string;
description: string;
};
EuropePodgorica: {
value: string;
description: string;
};
EuropePrague: {
value: string;
description: string;
};
EuropeRiga: {
value: string;
description: string;
};
EuropeRome: {
value: string;
description: string;
};
EuropeSamara: {
value: string;
description: string;
};
EuropeSanMarino: {
value: string;
description: string;
};
EuropeSarajevo: {
value: string;
description: string;
};
EuropeSaratov: {
value: string;
description: string;
};
EuropeSimferopol: {
value: string;
description: string;
};
EuropeSkopje: {
value: string;
description: string;
};
EuropeSofia: {
value: string;
description: string;
};
EuropeStockholm: {
value: string;
description: string;
};
EuropeTallinn: {
value: string;
description: string;
};
EuropeTirane: {
value: string;
description: string;
};
EuropeTiraspol: {
value: string;
description: string;
};
EuropeUlyanovsk: {
value: string;
description: string;
};
EuropeUzhgorod: {
value: string;
description: string;
};
EuropeVaduz: {
value: string;
description: string;
};
EuropeVatican: {
value: string;
description: string;
};
EuropeVienna: {
value: string;
description: string;
};
EuropeVilnius: {
value: string;
description: string;
};
EuropeVolgograd: {
value: string;
description: string;
};
EuropeWarsaw: {
value: string;
description: string;
};
EuropeZagreb: {
value: string;
description: string;
};
EuropeZaporozhye: {
value: string;
description: string;
};
EuropeZurich: {
value: string;
description: string;
};
GB: {
value: string;
description: string;
};
GBEire: {
value: string;
description: string;
};
GMT: {
value: string;
description: string;
};
GMTPlus0: {
value: string;
description: string;
};
GMTMinus0: {
value: string;
description: string;
};
GMT0: {
value: string;
description: string;
};
Greenwich: {
value: string;
description: string;
};
HST: {
value: string;
description: string;
};
Hongkong: {
value: string;
description: string;
};
Iceland: {
value: string;
description: string;
};
IndianAntananarivo: {
value: string;
description: string;
};
IndianChagos: {
value: string;
description: string;
};
IndianChristmas: {
value: string;
description: string;
};
IndianCocos: {
value: string;
description: string;
};
IndianComoro: {
value: string;
description: string;
};
IndianKerguelen: {
value: string;
description: string;
};
IndianMahe: {
value: string;
description: string;
};
IndianMaldives: {
value: string;
description: string;
};
IndianMauritius: {
value: string;
description: string;
};
IndianMayotte: {
value: string;
description: string;
};
IndianReunion: {
value: string;
description: string;
};
Iran: {
value: string;
description: string;
};
Israel: {
value: string;
description: string;
};
Jamaica: {
value: string;
description: string;
};
Japan: {
value: string;
description: string;
};
Kwajalein: {
value: string;
description: string;
};
Libya: {
value: string;
description: string;
};
MET: {
value: string;
description: string;
};
MST: {
value: string;
description: string;
};
MST7MDT: {
value: string;
description: string;
};
MexicoBajaNorte: {
value: string;
description: string;
};
MexicoBajaSur: {
value: string;
description: string;
};
MexicoGeneral: {
value: string;
description: string;
};
NZ: {
value: string;
description: string;
};
NZCHAT: {
value: string;
description: string;
};
Navajo: {
value: string;
description: string;
};
PRC: {
value: string;
description: string;
};
PST8PDT: {
value: string;
description: string;
};
PacificApia: {
value: string;
description: string;
};
PacificAuckland: {
value: string;
description: string;
};
PacificBougainville: {
value: string;
description: string;
};
PacificChatham: {
value: string;
description: string;
};
PacificChuuk: {
value: string;
description: string;
};
PacificEaster: {
value: string;
description: string;
};
PacificEfate: {
value: string;
description: string;
};
PacificEnderbury: {
value: string;
description: string;
};
PacificFakaofo: {
value: string;
description: string;
};
PacificFiji: {
value: string;
description: string;
};
PacificFunafuti: {
value: string;
description: string;
};
PacificGalapagos: {
value: string;
description: string;
};
PacificGambier: {
value: string;
description: string;
};
PacificGuadalcanal: {
value: string;
description: string;
};
PacificGuam: {
value: string;
description: string;
};
PacificHonolulu: {
value: string;
description: string;
};
PacificJohnston: {
value: string;
description: string;
};
PacificKiritimati: {
value: string;
description: string;
};
PacificKosrae: {
value: string;
description: string;
};
PacificKwajalein: {
value: string;
description: string;
};
PacificMajuro: {
value: string;
description: string;
};
PacificMarquesas: {
value: string;
description: string;
};
PacificMidway: {
value: string;
description: string;
};
PacificNauru: {
value: string;
description: string;
};
PacificNiue: {
value: string;
description: string;
};
PacificNorfolk: {
value: string;
description: string;
};
PacificNoumea: {
value: string;
description: string;
};
PacificPagoPago: {
value: string;
description: string;
};
PacificPalau: {
value: string;
description: string;
};
PacificPitcairn: {
value: string;
description: string;
};
PacificPohnpei: {
value: string;
description: string;
};
PacificPonape: {
value: string;
description: string;
};
PacificPortMoresby: {
value: string;
description: string;
};
PacificRarotonga: {
value: string;
description: string;
};
PacificSaipan: {
value: string;
description: string;
};
PacificSamoa: {
value: string;
description: string;
};
PacificTahiti: {
value: string;
description: string;
};
PacificTarawa: {
value: string;
description: string;
};
PacificTongatapu: {
value: string;
description: string;
};
PacificTruk: {
value: string;
description: string;
};
PacificWake: {
value: string;
description: string;
};
PacificWallis: {
value: string;
description: string;
};
PacificYap: {
value: string;
description: string;
};
Poland: {
value: string;
description: string;
};
Portugal: {
value: string;
description: string;
};
ROC: {
value: string;
description: string;
};
ROK: {
value: string;
description: string;
};
Singapore: {
value: string;
description: string;
};
Turkey: {
value: string;
description: string;
};
UCT: {
value: string;
description: string;
};
USAlaska: {
value: string;
description: string;
};
USAleutian: {
value: string;
description: string;
};
USArizona: {
value: string;
description: string;
};
USCentral: {
value: string;
description: string;
};
USEastIndiana: {
value: string;
description: string;
};
USEastern: {
value: string;
description: string;
};
USHawaii: {
value: string;
description: string;
};
USIndianaStarke: {
value: string;
description: string;
};
USMichigan: {
value: string;
description: string;
};
USMountain: {
value: string;
description: string;
};
USPacific: {
value: string;
description: string;
};
USPacificNew: {
value: string;
description: string;
};
USSamoa: {
value: string;
description: string;
};
UTC: {
value: string;
description: string;
};
Universal: {
value: string;
description: string;
};
WSU: {
value: string;
description: string;
};
WET: {
value: string;
description: string;
};
Zulu: {
value: string;
description: string;
};
};
export declare const timezoneOptions: {
label: string;
value: string;
}[];
export declare enum Timezone {
AfricaAbidjan = "Africa/Abidjan",
AfricaAccra = "Africa/Accra",
AfricaAddisAbaba = "Africa/Addis_Ababa",
AfricaAlgiers = "Africa/Algiers",
AfricaAsmara = "Africa/Asmara",
AfricaAsmera = "Africa/Asmera",
AfricaBamako = "Africa/Bamako",
AfricaBangui = "Africa/Bangui",
AfricaBanjul = "Africa/Banjul",
AfricaBissau = "Africa/Bissau",
AfricaBlantyre = "Africa/Blantyre",
AfricaBrazzaville = "Africa/Brazzaville",
AfricaBujumbura = "Africa/Bujumbura",
AfricaCairo = "Africa/Cairo",
AfricaCasablanca = "Africa/Casablanca",
AfricaCeuta = "Africa/Ceuta",
AfricaConakry = "Africa/Conakry",
AfricaDakar = "Africa/Dakar",
AfricaDaresSalaam = "Africa/Dar_es_Salaam",
AfricaDjibouti = "Africa/Djibouti",
AfricaDouala = "Africa/Douala",
AfricaElAaiun = "Africa/El_Aaiun",
AfricaFreetown = "Africa/Freetown",
AfricaGaborone = "Africa/Gaborone",
AfricaHarare = "Africa/Harare",
AfricaJohannesburg = "Africa/Johannesburg",
AfricaJuba = "Africa/Juba",
AfricaKampala = "Africa/Kampala",
AfricaKhartoum = "Africa/Khartoum",
AfricaKigali = "Africa/Kigali",
AfricaKinshasa = "Africa/Kinshasa",
AfricaLagos = "Africa/Lagos",
AfricaLibreville = "Africa/Libreville",
AfricaLome = "Africa/Lome",
AfricaLuanda = "Africa/Luanda",
AfricaLubumbashi = "Africa/Lubumbashi",
AfricaLusaka = "Africa/Lusaka",
AfricaMalabo = "Africa/Malabo",
AfricaMaputo = "Africa/Maputo",
AfricaMaseru = "Africa/Maseru",
AfricaMbabane = "Africa/Mbabane",
AfricaMogadishu = "Africa/Mogadishu",
AfricaMonrovia = "Africa/Monrovia",
AfricaNairobi = "Africa/Nairobi",
AfricaNdjamena = "Africa/Ndjamena",
AfricaNiamey = "Africa/Niamey",
AfricaNouakchott = "Africa/Nouakchott",
AfricaOuagadougou = "Africa/Ouagadougou",
AfricaPortoNovo = "Africa/Porto-Novo",
AfricaSaoTome = "Africa/Sao_Tome",
AfricaTimbuktu = "Africa/Timbuktu",
AfricaTripoli = "Africa/Tripoli",
AfricaTunis = "Africa/Tunis",
AfricaWindhoek = "Africa/Windhoek",
AmericaAdak = "America/Adak",
AmericaAnchorage = "America/Anchorage",
AmericaAnguilla = "America/Anguilla",
AmericaAntigua = "America/Antigua",
AmericaAraguaina = "America/Araguaina",
AmericaArgentinaBuenosAires = "America/Argentina/Buenos_Aires",
AmericaArgentinaCatamarca = "America/Argentina/Catamarca",
AmericaArgentinaComodRivadavia = "America/Argentina/ComodRivadavia",
AmericaArgentinaCordoba = "America/Argentina/Cordoba",
AmericaArgentinaJujuy = "America/Argentina/Jujuy",
AmericaArgentinaLaRioja = "America/Argentina/La_Rioja",
AmericaArgentinaMendoza = "America/Argentina/Mendoza",
AmericaArgentinaRioGallegos = "America/Argentina/Rio_Gallegos",
AmericaArgentinaSalta = "America/Argentina/Salta",
AmericaArgentinaSanJuan = "America/Argentina/San_Juan",
AmericaArgentinaSanLuis = "America/Argentina/San_Luis",
AmericaArgentinaTucuman = "America/Argentina/Tucuman",
AmericaArgentinaUshuaia = "America/Argentina/Ushuaia",
AmericaAruba = "America/Aruba",
AmericaAsuncion = "America/Asuncion",
AmericaAtikokan = "America/Atikokan",
AmericaAtka = "America/Atka",
AmericaBahia = "America/Bahia",
AmericaBahiaBanderas = "America/Bahia_Banderas",
AmericaBarbados = "America/Barbados",
AmericaBelem = "America/Belem",
AmericaBelize = "America/Belize",
AmericaBlancSablon = "America/Blanc-Sablon",
AmericaBoaVista = "America/Boa_Vista",
AmericaBogota = "America/Bogota",
AmericaBoise = "America/Boise",
AmericaBuenosAires = "America/Buenos_Aires",
AmericaCambridgeBay = "America/Cambridge_Bay",
AmericaCampoGrande = "America/Campo_Grande",
AmericaCancun = "America/Cancun",
AmericaCaracas = "America/Caracas",
AmericaCatamarca = "America/Catamarca",
AmericaCayenne = "America/Cayenne",
AmericaCayman = "America/Cayman",
AmericaChicago = "America/Chicago",
AmericaChihuahua = "America/Chihuahua",
AmericaCoralHarbour = "America/Coral_Harbour",
AmericaCordoba = "America/Cordoba",
AmericaCostaRica = "America/Costa_Rica",
AmericaCreston = "America/Creston",
AmericaCuiaba = "America/Cuiaba",
AmericaCuracao = "America/Curacao",
AmericaDanmarkshavn = "America/Danmarkshavn",
AmericaDawson = "America/Dawson",
AmericaDawsonCreek = "America/Dawson_Creek",
AmericaDenver = "America/Denver",
AmericaDetroit = "America/Detroit",
AmericaDominica = "America/Dominica",
AmericaEdmonton = "America/Edmonton",
AmericaEirunepe = "America/Eirunepe",
AmericaElSalvador = "America/El_Salvador",
AmericaEnsenada = "America/Ensenada",
AmericaFortNelson = "America/Fort_Nelson",
AmericaFortWayne = "America/Fort_Wayne",
AmericaFortaleza = "America/Fortaleza",
AmericaGlaceBay = "America/Glace_Bay",
AmericaGodthab = "America/Godthab",
AmericaGooseBay = "America/Goose_Bay",
AmericaGrandTurk = "America/Grand_Turk",
AmericaGrenada = "America/Grenada",
AmericaGuadeloupe = "America/Guadeloupe",
AmericaGuatemala = "America/Guatemala",
AmericaGuayaquil = "America/Guayaquil",
AmericaGuyana = "America/Guyana",
AmericaHalifax = "America/Halifax",
AmericaHavana = "America/Havana",
AmericaHermosillo = "America/Hermosillo",
AmericaIndianaIndianapolis = "America/Indiana/Indianapolis",
AmericaIndianaKnox = "America/Indiana/Knox",
AmericaIndianaMarengo = "America/Indiana/Marengo",
AmericaIndianaPetersburg = "America/Indiana/Petersburg",
AmericaIndianaTellCity = "America/Indiana/Tell_City",
AmericaIndianaVevay = "America/Indiana/Vevay",
AmericaIndianaVincennes = "America/Indiana/Vincennes",
AmericaIndianaWinamac = "America/Indiana/Winamac",
AmericaIndianapolis = "America/Indianapolis",
AmericaInuvik = "America/Inuvik",
AmericaIqaluit = "America/Iqaluit",
AmericaJamaica = "America/Jamaica",
AmericaJujuy = "America/Jujuy",
AmericaJuneau = "America/Juneau",
AmericaKentuckyLouisville = "America/Kentucky/Louisville",
AmericaKentuckyMonticello = "America/Kentucky/Monticello",
AmericaKnoxIN = "America/Knox_IN",
AmericaKralendijk = "America/Kralendijk",
AmericaLaPaz = "America/La_Paz",
AmericaLima = "America/Lima",
AmericaLosAngeles = "America/Los_Angeles",
AmericaLouisville = "America/Louisville",
AmericaLowerPrinces = "America/Lower_Princes",
AmericaMaceio = "America/Maceio",
AmericaManagua = "America/Managua",
AmericaManaus = "America/Manaus",
AmericaMarigot = "America/Marigot",
AmericaMartinique = "America/Martinique",
AmericaMatamoros = "America/Matamoros",
AmericaMazatlan = "America/Mazatlan",
AmericaMendoza = "America/Mendoza",
AmericaMenominee = "America/Menominee",
AmericaMerida = "America/Merida",
AmericaMetlakatla = "America/Metlakatla",
AmericaMexicoCity = "America/Mexico_City",
AmericaMiquelon = "America/Miquelon",
AmericaMoncton = "America/Moncton",
AmericaMonterrey = "America/Monterrey",
AmericaMontevideo = "America/Montevideo",
AmericaMontreal = "America/Montreal",
AmericaMontserrat = "America/Montserrat",
AmericaNassau = "America/Nassau",
AmericaNewYork = "America/New_York",
AmericaNipigon = "America/Nipigon",
AmericaNome = "America/Nome",
AmericaNoronha = "America/Noronha",
AmericaNorthDakotaBeulah = "America/North_Dakota/Beulah",
AmericaNorthDakotaCenter = "America/North_Dakota/Center",
AmericaNorthDakotaNewSalem = "America/North_Dakota/New_Salem",
AmericaNuuk = "America/Nuuk",
AmericaOjinaga = "America/Ojinaga",
AmericaPanama = "America/Panama",
AmericaPangnirtung = "America/Pangnirtung",
AmericaParamaribo = "America/Paramaribo",
AmericaPhoenix = "America/Phoenix",
AmericaPortauPrince = "America/Port-au-Prince",
AmericaPortofSpain = "America/Port_of_Spain",
AmericaPortoAcre = "America/Porto_Acre",
AmericaPortoVelho = "America/Porto_Velho",
AmericaPuertoRico = "America/Puerto_Rico",
AmericaPuntaArenas = "America/Punta_Arenas",
AmericaRainyRiver = "America/Rainy_River",
AmericaRankinInlet = "America/Rankin_Inlet",
AmericaRecife = "America/Recife",
AmericaRegina = "America/Regina",
AmericaResolute = "America/Resolute",
AmericaRioBranco = "America/Rio_Branco",
AmericaRosario = "America/Rosario",
AmericaSantaIsabel = "America/Santa_Isabel",
AmericaSantarem = "America/Santarem",
AmericaSantiago = "America/Santiago",
AmericaSantoDomingo = "America/Santo_Domingo",
AmericaSaoPaulo = "America/Sao_Paulo",
AmericaScoresbysund = "America/Scoresbysund",
AmericaShiprock = "America/Shiprock",
AmericaSitka = "America/Sitka",
AmericaStBarthelemy = "America/St_Barthelemy",
AmericaStJohns = "America/St_Johns",
AmericaStKitts = "America/St_Kitts",
AmericaStLucia = "America/St_Lucia",
AmericaStThomas = "America/St_Thomas",
AmericaStVincent = "America/St_Vincent",
AmericaSwiftCurrent = "America/Swift_Current",
AmericaTegucigalpa = "America/Tegucigalpa",
AmericaThule = "America/Thule",
AmericaThunderBay = "America/Thunder_Bay",
AmericaTijuana = "America/Tijuana",
AmericaToronto = "America/Toronto",
AmericaTortola = "America/Tortola",
AmericaVancouver = "America/Vancouver",
AmericaVirgin = "America/Virgin",
AmericaWhitehorse = "America/Whitehorse",
AmericaWinnipeg = "America/Winnipeg",
AmericaYakutat = "America/Yakutat",
AmericaYellowknife = "America/Yellowknife",
AntarcticaCasey = "Antarctica/Casey",
AntarcticaDavis = "Antarctica/Davis",
AntarcticaDumontDUrville = "Antarctica/DumontDUrville",
AntarcticaMacquarie = "Antarctica/Macquarie",
AntarcticaMawson = "Antarctica/Mawson",
AntarcticaMcMurdo = "Antarctica/McMurdo",
AntarcticaPalmer = "Antarctica/Palmer",
AntarcticaRothera = "Antarctica/Rothera",
AntarcticaSouthPole = "Antarctica/South_Pole",
AntarcticaSyowa = "Antarctica/Syowa",
AntarcticaTroll = "Antarctica/Troll",
AntarcticaVostok = "Antarctica/Vostok",
ArcticLongyearbyen = "Arctic/Longyearbyen",
AsiaAden = "Asia/Aden",
AsiaAlmaty = "Asia/Almaty",
AsiaAmman = "Asia/Amman",
AsiaAnadyr = "Asia/Anadyr",
AsiaAqtau = "Asia/Aqtau",
AsiaAqtobe = "Asia/Aqtobe",
AsiaAshgabat = "Asia/Ashgabat",
AsiaAshkhabad = "Asia/Ashkhabad",
AsiaAtyrau = "Asia/Atyrau",
AsiaBaghdad = "Asia/Baghdad",
AsiaBahrain = "Asia/Bahrain",
AsiaBaku = "Asia/Baku",
AsiaBangkok = "Asia/Bangkok",
AsiaBarnaul = "Asia/Barnaul",
AsiaBeirut = "Asia/Beirut",
AsiaBishkek = "Asia/Bishkek",
AsiaBrunei = "Asia/Brunei",
AsiaCalcutta = "Asia/Calcutta",
AsiaChita = "Asia/Chita",
AsiaChoibalsan = "Asia/Choibalsan",
AsiaChongqing = "Asia/Chongqing",
AsiaChungking = "Asia/Chungking",
AsiaColombo = "Asia/Colombo",
AsiaDacca = "Asia/Dacca",
AsiaDamascus = "Asia/Damascus",
AsiaDhaka = "Asia/Dhaka",
AsiaDili = "Asia/Dili",
AsiaDubai = "Asia/Dubai",
AsiaDushanbe = "Asia/Dushanbe",
AsiaFamagusta = "Asia/Famagusta",
AsiaGaza = "Asia/Gaza",
AsiaHarbin = "Asia/Harbin",
AsiaHebron = "Asia/Hebron",
AsiaHoChiMinh = "Asia/Ho_Chi_Minh",
AsiaHongKong = "Asia/Hong_Kong",
AsiaHovd = "Asia/Hovd",
AsiaIrkutsk = "Asia/Irkutsk",
AsiaIstanbul = "Asia/Istanbul",
AsiaJakarta = "Asia/Jakarta",
AsiaJayapura = "Asia/Jayapura",
AsiaJerusalem = "Asia/Jerusalem",
AsiaKabul = "Asia/Kabul",
AsiaKamchatka = "Asia/Kamchatka",
AsiaKarachi = "Asia/Karachi",
AsiaKashgar = "Asia/Kashgar",
AsiaKathmandu = "Asia/Kathmandu",
AsiaKatmandu = "Asia/Katmandu",
AsiaKhandyga = "Asia/Khandyga",
AsiaKolkata = "Asia/Kolkata",
AsiaKrasnoyarsk = "Asia/Krasnoyarsk",
AsiaKualaLumpur = "Asia/Kuala_Lumpur",
AsiaKuching = "Asia/Kuching",
AsiaKuwait = "Asia/Kuwait",
AsiaMacao = "Asia/Macao",
AsiaMacau = "Asia/Macau",
AsiaMagadan = "Asia/Magadan",
AsiaMakassar = "Asia/Makassar",
AsiaManila = "Asia/Manila",
AsiaMuscat = "Asia/Muscat",
AsiaNicosia = "Asia/Nicosia",
AsiaNovokuznetsk = "Asia/Novokuznetsk",
AsiaNovosibirsk = "Asia/Novosibirsk",
AsiaOmsk = "Asia/Omsk",
AsiaOral = "Asia/Oral",
AsiaPhnomPenh = "Asia/Phnom_Penh",
AsiaPontianak = "Asia/Pontianak",
AsiaPyongyang = "Asia/Pyongyang",
AsiaQatar = "Asia/Qatar",
AsiaQostanay = "Asia/Qostanay",
AsiaQyzylorda = "Asia/Qyzylorda",
AsiaRangoon = "Asia/Rangoon",
AsiaRiyadh = "Asia/Riyadh",
AsiaSaigon = "Asia/Saigon",
AsiaSakhalin = "Asia/Sakhalin",
AsiaSamarkand = "Asia/Samarkand",
AsiaSeoul = "Asia/Seoul",
AsiaShanghai = "Asia/Shanghai",
AsiaSingapore = "Asia/Singapore",
AsiaSrednekolymsk = "Asia/Srednekolymsk",
AsiaTaipei = "Asia/Taipei",
AsiaTashkent = "Asia/Tashkent",
AsiaTbilisi = "Asia/Tbilisi",
AsiaTehran = "Asia/Tehran",
AsiaTelAviv = "Asia/Tel_Aviv",
AsiaThimbu = "Asia/Thimbu",
AsiaThimphu = "Asia/Thimphu",
AsiaTokyo = "Asia/Tokyo",
AsiaTomsk = "Asia/Tomsk",
AsiaUjungPandang = "Asia/Ujung_Pandang",
AsiaUlaanbaatar = "Asia/Ulaanbaatar",
AsiaUlanBator = "Asia/Ulan_Bator",
AsiaUrumqi = "Asia/Urumqi",
AsiaUstNera = "Asia/Ust-Nera",
AsiaVientiane = "Asia/Vientiane",
AsiaVladivostok = "Asia/Vladivostok",
AsiaYakutsk = "Asia/Yakutsk",
AsiaYangon = "Asia/Yangon",
AsiaYekaterinburg = "Asia/Yekaterinburg",
AsiaYerevan = "Asia/Yerevan",
AtlanticAzores = "Atlantic/Azores",
AtlanticBermuda = "Atlantic/Bermuda",
AtlanticCanary = "Atlantic/Canary",
AtlanticCapeVerde = "Atlantic/Cape_Verde",
AtlanticFaeroe = "Atlantic/Faeroe",
AtlanticFaroe = "Atlantic/Faroe",
AtlanticJanMayen = "Atlantic/Jan_Mayen",
AtlanticMadeira = "Atlantic/Madeira",
AtlanticReykjavik = "Atlantic/Reykjavik",
AtlanticSouthGeorgia = "Atlantic/South_Georgia",
AtlanticStHelena = "Atlantic/St_Helena",
AtlanticStanley = "Atlantic/Stanley",
AustraliaACT = "Australia/ACT",
AustraliaAdelaide = "Australia/Adelaide",
AustraliaBrisbane = "Australia/Brisbane",
AustraliaBrokenHill = "Australia/Broken_Hill",
AustraliaCanberra = "Australia/Canberra",
AustraliaCurrie = "Australia/Currie",
AustraliaDarwin = "Australia/Darwin",
AustraliaEucla = "Australia/Eucla",
AustraliaHobart = "Australia/Hobart",
AustraliaLHI = "Australia/LHI",
AustraliaLindeman = "Australia/Lindeman",
AustraliaLordHowe = "Australia/Lord_Howe",
AustraliaMelbourne = "Australia/Melbourne",
AustraliaNSW = "Australia/NSW",
AustraliaNorth = "Australia/North",
AustraliaPerth = "Australia/Perth",
AustraliaQueensland = "Australia/Queensland",
AustraliaSouth = "Australia/South",
AustraliaSydney = "Australia/Sydney",
AustraliaTasmania = "Australia/Tasmania",
AustraliaVictoria = "Australia/Victoria",
AustraliaWest = "Australia/West",
AustraliaYancowinna = "Australia/Yancowinna",
BrazilAcre = "Brazil/Acre",
BrazilDeNoronha = "Brazil/DeNoronha",
BrazilEast = "Brazil/East",
BrazilWest = "Brazil/West",
CET = "CET",
CST6CDT = "CST6CDT",
CanadaAtlantic = "Canada/Atlantic",
CanadaCentral = "Canada/Central",
CanadaEastern = "Canada/Eastern",
CanadaMountain = "Canada/Mountain",
CanadaNewfoundland = "Canada/Newfoundland",
CanadaPacific = "Canada/Pacific",
CanadaSaskatchewan = "Canada/Saskatchewan",
CanadaYukon = "Canada/Yukon",
ChileContinental = "Chile/Continental",
ChileEasterIsland = "Chile/EasterIsland",
Cuba = "Cuba",
EET = "EET",
EST = "EST",
EST5EDT = "EST5EDT",
Egypt = "Egypt",
Eire = "Eire",
EtcGMT = "Etc/GMT",
EtcGMTPlus0 = "Etc/GMT+0",
EtcGMTPlus1 = "Etc/GMT+1",
EtcGMTPlus10 = "Etc/GMT+10",
EtcGMTPlus11 = "Etc/GMT+11",
EtcGMTPlus12 = "Etc/GMT+12",
EtcGMTPlus2 = "Etc/GMT+2",
EtcGMTPlus3 = "Etc/GMT+3",
EtcGMTPlus4 = "Etc/GMT+4",
EtcGMTPlus5 = "Etc/GMT+5",
EtcGMTPlus6 = "Etc/GMT+6",
EtcGMTPlus7 = "Etc/GMT+7",
EtcGMTPlus8 = "Etc/GMT+8",
EtcGMTPlus9 = "Etc/GMT+9",
EtcGMTMinus0 = "Etc/GMT-0",
EtcGMTMinus1 = "Etc/GMT-1",
EtcGMTMinus10 = "Etc/GMT-10",
EtcGMTMinus11 = "Etc/GMT-11",
EtcGMTMinus12 = "Etc/GMT-12",
EtcGMTMinus13 = "Etc/GMT-13",
EtcGMTMinus14 = "Etc/GMT-14",
EtcGMTMinus2 = "Etc/GMT-2",
EtcGMTMinus3 = "Etc/GMT-3",
EtcGMTMinus4 = "Etc/GMT-4",
EtcGMTMinus5 = "Etc/GMT-5",
EtcGMTMinus6 = "Etc/GMT-6",
EtcGMTMinus7 = "Etc/GMT-7",
EtcGMTMinus8 = "Etc/GMT-8",
EtcGMTMinus9 = "Etc/GMT-9",
EtcGMT0 = "Etc/GMT0",
EtcGreenwich = "Etc/Greenwich",
EtcUCT = "Etc/UCT",
EtcUTC = "Etc/UTC",
EtcUniversal = "Etc/Universal",
EtcZulu = "Etc/Zulu",
EuropeAmsterdam = "Europe/Amsterdam",
EuropeAndorra = "Europe/Andorra",
EuropeAstrakhan = "Europe/Astrakhan",
EuropeAthens = "Europe/Athens",
EuropeBelfast = "Europe/Belfast",
EuropeBelgrade = "Europe/Belgrade",
EuropeBerlin = "Europe/Berlin",
EuropeBratislava = "Europe/Bratislava",
EuropeBrussels = "Europe/Brussels",
EuropeBucharest = "Europe/Bucharest",
EuropeBudapest = "Europe/Budapest",
EuropeBusingen = "Europe/Busingen",
EuropeChisinau = "Europe/Chisinau",
EuropeCopenhagen = "Europe/Copenhagen",
EuropeDublin = "Europe/Dublin",
EuropeGibraltar = "Europe/Gibraltar",
EuropeGuernsey = "Europe/Guernsey",
EuropeHelsinki = "Europe/Helsinki",
EuropeIsleofMan = "Europe/Isle_of_Man",
EuropeIstanbul = "Europe/Istanbul",
EuropeJersey = "Europe/Jersey",
EuropeKaliningrad = "Europe/Kaliningrad",
EuropeKiev = "Europe/Kiev",
EuropeKirov = "Europe/Kirov",
EuropeLisbon = "Europe/Lisbon",
EuropeLjubljana = "Europe/Ljubljana",
EuropeLondon = "Europe/London",
EuropeLuxembourg = "Europe/Luxembourg",
EuropeMadrid = "Europe/Madrid",
EuropeMalta = "Europe/Malta",
EuropeMariehamn = "Europe/Mariehamn",
EuropeMinsk = "Europe/Minsk",
EuropeMonaco = "Europe/Monaco",
EuropeMoscow = "Europe/Moscow",
EuropeNicosia = "Europe/Nicosia",
EuropeOslo = "Europe/Oslo",
EuropeParis = "Europe/Paris",
EuropePodgorica = "Europe/Podgorica",
EuropePrague = "Europe/Prague",
EuropeRiga = "Europe/Riga",
EuropeRome = "Europe/Rome",
EuropeSamara = "Europe/Samara",
EuropeSanMarino = "Europe/San_Marino",
EuropeSarajevo = "Europe/Sarajevo",
EuropeSaratov = "Europe/Saratov",
EuropeSimferopol = "Europe/Simferopol",
EuropeSkopje = "Europe/Skopje",
EuropeSofia = "Europe/Sofia",
EuropeStockholm = "Europe/Stockholm",
EuropeTallinn = "Europe/Tallinn",
EuropeTirane = "Europe/Tirane",
EuropeTiraspol = "Europe/Tiraspol",
EuropeUlyanovsk = "Europe/Ulyanovsk",
EuropeUzhgorod = "Europe/Uzhgorod",
EuropeVaduz = "Europe/Vaduz",
EuropeVatican = "Europe/Vatican",
EuropeVienna = "Europe/Vienna",
EuropeVilnius = "Europe/Vilnius",
EuropeVolgograd = "Europe/Volgograd",
EuropeWarsaw = "Europe/Warsaw",
EuropeZagreb = "Europe/Zagreb",
EuropeZaporozhye = "Europe/Zaporozhye",
EuropeZurich = "Europe/Zurich",
GB = "GB",
GBEire = "GB-Eire",
GMT = "GMT",
GMTPlus0 = "GMT+0",
GMTMinus0 = "GMT-0",
GMT0 = "GMT0",
Greenwich = "Greenwich",
HST = "HST",
Hongkong = "Hongkong",
Iceland = "Iceland",
IndianAntananarivo = "Indian/Antananarivo",
IndianChagos = "Indian/Chagos",
IndianChristmas = "Indian/Christmas",
IndianCocos = "Indian/Cocos",
IndianComoro = "Indian/Comoro",
IndianKerguelen = "Indian/Kerguelen",
IndianMahe = "Indian/Mahe",
IndianMaldives = "Indian/Maldives",
IndianMauritius = "Indian/Mauritius",
IndianMayotte = "Indian/Mayotte",
IndianReunion = "Indian/Reunion",
Iran = "Iran",
Israel = "Israel",
Jamaica = "Jamaica",
Japan = "Japan",
Kwajalein = "Kwajalein",
Libya = "Libya",
MET = "MET",
MST = "MST",
MST7MDT = "MST7MDT",
MexicoBajaNorte = "Mexico/BajaNorte",
MexicoBajaSur = "Mexico/BajaSur",
MexicoGeneral = "Mexico/General",
NZ = "NZ",
NZCHAT = "NZ-CHAT",
Navajo = "Navajo",
PRC = "PRC",
PST8PDT = "PST8PDT",
PacificApia = "Pacific/Apia",
PacificAuckland = "Pacific/Auckland",
PacificBougainville = "Pacific/Bougainville",
PacificChatham = "Pacific/Chatham",
PacificChuuk = "Pacific/Chuuk",
PacificEaster = "Pacific/Easter",
PacificEfate = "Pacific/Efate",
PacificEnderbury = "Pacific/Enderbury",
PacificFakaofo = "Pacific/Fakaofo",
PacificFiji = "Pacific/Fiji",
PacificFunafuti = "Pacific/Funafuti",
PacificGalapagos = "Pacific/Galapagos",
PacificGambier = "Pacific/Gambier",
PacificGuadalcanal = "Pacific/Guadalcanal",
PacificGuam = "Pacific/Guam",
PacificHonolulu = "Pacific/Honolulu",
PacificJohnston = "Pacific/Johnston",
PacificKiritimati = "Pacific/Kiritimati",
PacificKosrae = "Pacific/Kosrae",
PacificKwajalein = "Pacific/Kwajalein",
PacificMajuro = "Pacific/Majuro",
PacificMarquesas = "Pacific/Marquesas",
PacificMidway = "Pacific/Midway",
PacificNauru = "Pacific/Nauru",
PacificNiue = "Pacific/Niue",
PacificNorfolk = "Pacific/Norfolk",
PacificNoumea = "Pacific/Noumea",
PacificPagoPago = "Pacific/Pago_Pago",
PacificPalau = "Pacific/Palau",
PacificPitcairn = "Pacific/Pitcairn",
PacificPohnpei = "Pacific/Pohnpei",
PacificPonape = "Pacific/Ponape",
PacificPortMoresby = "Pacific/Port_Moresby",
PacificRarotonga = "Pacific/Rarotonga",
PacificSaipan = "Pacific/Saipan",
PacificSamoa = "Pacific/Samoa",
PacificTahiti = "Pacific/Tahiti",
PacificTarawa = "Pacific/Tarawa",
PacificTongatapu = "Pacific/Tongatapu",
PacificTruk = "Pacific/Truk",
PacificWake = "Pacific/Wake",
PacificWallis = "Pacific/Wallis",
PacificYap = "Pacific/Yap",
Poland = "Poland",
Portugal = "Portugal",
ROC = "ROC",
ROK = "ROK",
Singapore = "Singapore",
Turkey = "Turkey",
UCT = "UCT",
USAlaska = "US/Alaska",
USAleutian = "US/Aleutian",
USArizona = "US/Arizona",
USCentral = "US/Central",
USEastIndiana = "US/East-Indiana",
USEastern = "US/Eastern",
USHawaii = "US/Hawaii",
USIndianaStarke = "US/Indiana-Starke",
USMichigan = "US/Michigan",
USMountain = "US/Mountain",
USPacific = "US/Pacific",
USPacificNew = "US/Pacific-New",
USSamoa = "US/Samoa",
UTC = "UTC",
Universal = "Universal",
WSU = "W-SU",
WET = "WET",
Zulu = "Zulu"
}

@@ -20,99 +20,49 @@ // @ts-ignore

.map((timezone: string) => `"${timezone}"`)
.join(",")}]\n\nexport const TimezoneValues = { ${timezones
.join(",")}]\n\nexport enum Timezone { ${timezones
.map(
(timezone: string) => `${timezone
.replace("GMT-0", "GMTMinus0")
.replace("Etc/GMT+0", "EtcGMTPlus0")
.replace("Etc/GMT+1", "EtcGMTPlus1")
.replace("Etc/GMT+10", "EtcGMTPlus10")
.replace("Etc/GMT+11", "EtcGMTPlus11")
.replace("Etc/GMT+12", "EtcGMTPlus12")
.replace("Etc/GMT+2", "EtcGMTPlus2")
.replace("Etc/GMT+3", "EtcGMTPlus3")
.replace("Etc/GMT+4", "EtcGMTPlus4")
.replace("Etc/GMT+5", "EtcGMTPlus5")
.replace("Etc/GMT+6", "EtcGMTPlus6")
.replace("Etc/GMT+7", "EtcGMTPlus7")
.replace("Etc/GMT+8", "EtcGMTPlus8")
.replace("Etc/GMT+9", "EtcGMTPlus9")
.replace("Etc/GMT-0", "EtcGMTMinus0")
.replace("Etc/GMT-1", "EtcGMTMinus1")
.replace("Etc/GMT-10", "EtcGMTMinus10")
.replace("Etc/GMT-11", "EtcGMTMinus11")
.replace("Etc/GMT-12", "EtcGMTMinus12")
.replace("Etc/GMT-13", "EtcGMTMinus13")
.replace("Etc/GMT-14", "EtcGMTMinus14")
.replace("Etc/GMT-2", "EtcGMTMinus2")
.replace("Etc/GMT-3", "EtcGMTMinus3")
.replace("Etc/GMT-4", "EtcGMTMinus4")
.replace("Etc/GMT-5", "EtcGMTMinus5")
.replace("Etc/GMT-6", "EtcGMTMinus6")
.replace("Etc/GMT-7", "EtcGMTMinus7")
.replace("Etc/GMT-8", "EtcGMTMinus8")
.replace("Etc/GMT-9", "EtcGMTMinus9")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("-", "")
.replace("-", "")
.replace("-", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("+", "Plus")}: {
value: "${timezone}",
description: "${timezone}"
}`
(timezone: string) =>
`${timezone
.replace("GMT-0", "GMTMinus0")
.replace("Etc/GMT+0", "EtcGMTPlus0")
.replace("Etc/GMT+1", "EtcGMTPlus1")
.replace("Etc/GMT+10", "EtcGMTPlus10")
.replace("Etc/GMT+11", "EtcGMTPlus11")
.replace("Etc/GMT+12", "EtcGMTPlus12")
.replace("Etc/GMT+2", "EtcGMTPlus2")
.replace("Etc/GMT+3", "EtcGMTPlus3")
.replace("Etc/GMT+4", "EtcGMTPlus4")
.replace("Etc/GMT+5", "EtcGMTPlus5")
.replace("Etc/GMT+6", "EtcGMTPlus6")
.replace("Etc/GMT+7", "EtcGMTPlus7")
.replace("Etc/GMT+8", "EtcGMTPlus8")
.replace("Etc/GMT+9", "EtcGMTPlus9")
.replace("Etc/GMT-0", "EtcGMTMinus0")
.replace("Etc/GMT-1", "EtcGMTMinus1")
.replace("Etc/GMT-10", "EtcGMTMinus10")
.replace("Etc/GMT-11", "EtcGMTMinus11")
.replace("Etc/GMT-12", "EtcGMTMinus12")
.replace("Etc/GMT-13", "EtcGMTMinus13")
.replace("Etc/GMT-14", "EtcGMTMinus14")
.replace("Etc/GMT-2", "EtcGMTMinus2")
.replace("Etc/GMT-3", "EtcGMTMinus3")
.replace("Etc/GMT-4", "EtcGMTMinus4")
.replace("Etc/GMT-5", "EtcGMTMinus5")
.replace("Etc/GMT-6", "EtcGMTMinus6")
.replace("Etc/GMT-7", "EtcGMTMinus7")
.replace("Etc/GMT-8", "EtcGMTMinus8")
.replace("Etc/GMT-9", "EtcGMTMinus9")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("-", "")
.replace("-", "")
.replace("-", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("+", "Plus")} = "${timezone}"`
)
.join(",")} }\n\nexport const timezoneOptions = [ ${timezones
.map(
(timezone: string) => `{
label: "${timezone}",
value: "${timezone
.replace("GMT-0", "GMTMinus0")
.replace("Etc/GMT+0", "EtcGMTPlus0")
.replace("Etc/GMT+1", "EtcGMTPlus1")
.replace("Etc/GMT+10", "EtcGMTPlus10")
.replace("Etc/GMT+11", "EtcGMTPlus11")
.replace("Etc/GMT+12", "EtcGMTPlus12")
.replace("Etc/GMT+2", "EtcGMTPlus2")
.replace("Etc/GMT+3", "EtcGMTPlus3")
.replace("Etc/GMT+4", "EtcGMTPlus4")
.replace("Etc/GMT+5", "EtcGMTPlus5")
.replace("Etc/GMT+6", "EtcGMTPlus6")
.replace("Etc/GMT+7", "EtcGMTPlus7")
.replace("Etc/GMT+8", "EtcGMTPlus8")
.replace("Etc/GMT+9", "EtcGMTPlus9")
.replace("Etc/GMT-0", "EtcGMTMinus0")
.replace("Etc/GMT-1", "EtcGMTMinus1")
.replace("Etc/GMT-10", "EtcGMTMinus10")
.replace("Etc/GMT-11", "EtcGMTMinus11")
.replace("Etc/GMT-12", "EtcGMTMinus12")
.replace("Etc/GMT-13", "EtcGMTMinus13")
.replace("Etc/GMT-14", "EtcGMTMinus14")
.replace("Etc/GMT-2", "EtcGMTMinus2")
.replace("Etc/GMT-3", "EtcGMTMinus3")
.replace("Etc/GMT-4", "EtcGMTMinus4")
.replace("Etc/GMT-5", "EtcGMTMinus5")
.replace("Etc/GMT-6", "EtcGMTMinus6")
.replace("Etc/GMT-7", "EtcGMTMinus7")
.replace("Etc/GMT-8", "EtcGMTMinus8")
.replace("Etc/GMT-9", "EtcGMTMinus9")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("/", "")
.replace("-", "")
.replace("-", "")
.replace("-", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("_", "")
.replace("+", "Plus")}"
}`
)
.join(",")} ]`,
.join(",")} }`,
function () {}

@@ -119,0 +69,0 @@ );

@@ -1,3 +0,3 @@

import { GraphQLEnumType } from 'graphql';
import { timezoneOptions, TimezoneValues as values } from './timezones';
import { createStringScalar } from 'graphql-scalar';
import { timezones } from './timezones';

@@ -10,16 +10,14 @@ type Props = {

export default ({ name, description }: Props = {}) =>
new GraphQLEnumType({
createStringScalar({
// @ts-ignore
name: name || "Timezone",
description: description,
values,
description:
description ||
'Accepts any valid timezone. List of available [timezones is here](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) (column "TZ database name").',
nonEmpty: true,
trim: true,
// @ts-ignore
validate: (value) => timezones.includes(value),
});
export const enumToString = (enumik: string) => {
const object = timezoneOptions.find((item) => item.value === enumik);
if (object) return object.label;
return undefined;
};
export { timezones, timezoneOptions } from "./timezones";
export { timezones, Timezone } from "./timezones";
{
"name": "graphql-timezone",
"version": "2.0.2",
"version": "2.0.3",
"description": "Timezone enum type for GraphQL",

@@ -24,2 +24,3 @@ "main": "dist/index.js",

"graphql": "^15.3.0",
"graphql-scalar": "^0.0.11",
"moment-timezone": "^0.5.31",

@@ -26,0 +27,0 @@ "tsdef": "0.0.14"

@@ -9,6 +9,6 @@ # GraphQL Timezone

This package exports a Timezone enum GraphQL.js type and list of available timezones as array of strings:
This package exports a Timezone scalar GraphQL.js type and list of available timezones as array of strings and as enum as well:
```
import timezoneScalar, { timezones } from 'graphql-timezone';
import timezoneScalar, { timezones, Timezone } from 'graphql-timezone';

@@ -26,1823 +26,9 @@ // Generate Timezone scalar

const listOfAvailableTimezones: string[] = timezones;
```
## Bonus - values for select
// Use Enum of generated timezones
const newTimezone = Timezone.EuropePrague // Points to "Europe/Prague"
```
import { timezoneOptions } from 'graphql-timezone';
const options = timezoneOptions;
/*
export const timezoneOptions = [
{
label: "Africa/Abidjan",
value: "AfricaAbidjan",
},
...
]
*/
```
## Bonus - translate enum to string
```
import { enumToString } from 'graphql-timezone';
const label = enumToString("AfricaAbidjan"); // Africa/Abidjan
```
## Enum details
```
enum Timezone {
"""Africa/Abidjan"""
AfricaAbidjan
"""Africa/Accra"""
AfricaAccra
"""Africa/Addis_Ababa"""
AfricaAddisAbaba
"""Africa/Algiers"""
AfricaAlgiers
"""Africa/Asmara"""
AfricaAsmara
"""Africa/Asmera"""
AfricaAsmera
"""Africa/Bamako"""
AfricaBamako
"""Africa/Bangui"""
AfricaBangui
"""Africa/Banjul"""
AfricaBanjul
"""Africa/Bissau"""
AfricaBissau
"""Africa/Blantyre"""
AfricaBlantyre
"""Africa/Brazzaville"""
AfricaBrazzaville
"""Africa/Bujumbura"""
AfricaBujumbura
"""Africa/Cairo"""
AfricaCairo
"""Africa/Casablanca"""
AfricaCasablanca
"""Africa/Ceuta"""
AfricaCeuta
"""Africa/Conakry"""
AfricaConakry
"""Africa/Dakar"""
AfricaDakar
"""Africa/Dar_es_Salaam"""
AfricaDaresSalaam
"""Africa/Djibouti"""
AfricaDjibouti
"""Africa/Douala"""
AfricaDouala
"""Africa/El_Aaiun"""
AfricaElAaiun
"""Africa/Freetown"""
AfricaFreetown
"""Africa/Gaborone"""
AfricaGaborone
"""Africa/Harare"""
AfricaHarare
"""Africa/Johannesburg"""
AfricaJohannesburg
"""Africa/Juba"""
AfricaJuba
"""Africa/Kampala"""
AfricaKampala
"""Africa/Khartoum"""
AfricaKhartoum
"""Africa/Kigali"""
AfricaKigali
"""Africa/Kinshasa"""
AfricaKinshasa
"""Africa/Lagos"""
AfricaLagos
"""Africa/Libreville"""
AfricaLibreville
"""Africa/Lome"""
AfricaLome
"""Africa/Luanda"""
AfricaLuanda
"""Africa/Lubumbashi"""
AfricaLubumbashi
"""Africa/Lusaka"""
AfricaLusaka
"""Africa/Malabo"""
AfricaMalabo
"""Africa/Maputo"""
AfricaMaputo
"""Africa/Maseru"""
AfricaMaseru
"""Africa/Mbabane"""
AfricaMbabane
"""Africa/Mogadishu"""
AfricaMogadishu
"""Africa/Monrovia"""
AfricaMonrovia
"""Africa/Nairobi"""
AfricaNairobi
"""Africa/Ndjamena"""
AfricaNdjamena
"""Africa/Niamey"""
AfricaNiamey
"""Africa/Nouakchott"""
AfricaNouakchott
"""Africa/Ouagadougou"""
AfricaOuagadougou
"""Africa/Porto-Novo"""
AfricaPortoNovo
"""Africa/Sao_Tome"""
AfricaSaoTome
"""Africa/Timbuktu"""
AfricaTimbuktu
"""Africa/Tripoli"""
AfricaTripoli
"""Africa/Tunis"""
AfricaTunis
"""Africa/Windhoek"""
AfricaWindhoek
"""America/Adak"""
AmericaAdak
"""America/Anchorage"""
AmericaAnchorage
"""America/Anguilla"""
AmericaAnguilla
"""America/Antigua"""
AmericaAntigua
"""America/Araguaina"""
AmericaAraguaina
"""America/Argentina/Buenos_Aires"""
AmericaArgentinaBuenosAires
"""America/Argentina/Catamarca"""
AmericaArgentinaCatamarca
"""America/Argentina/ComodRivadavia"""
AmericaArgentinaComodRivadavia
"""America/Argentina/Cordoba"""
AmericaArgentinaCordoba
"""America/Argentina/Jujuy"""
AmericaArgentinaJujuy
"""America/Argentina/La_Rioja"""
AmericaArgentinaLaRioja
"""America/Argentina/Mendoza"""
AmericaArgentinaMendoza
"""America/Argentina/Rio_Gallegos"""
AmericaArgentinaRioGallegos
"""America/Argentina/Salta"""
AmericaArgentinaSalta
"""America/Argentina/San_Juan"""
AmericaArgentinaSanJuan
"""America/Argentina/San_Luis"""
AmericaArgentinaSanLuis
"""America/Argentina/Tucuman"""
AmericaArgentinaTucuman
"""America/Argentina/Ushuaia"""
AmericaArgentinaUshuaia
"""America/Aruba"""
AmericaAruba
"""America/Asuncion"""
AmericaAsuncion
"""America/Atikokan"""
AmericaAtikokan
"""America/Atka"""
AmericaAtka
"""America/Bahia"""
AmericaBahia
"""America/Bahia_Banderas"""
AmericaBahiaBanderas
"""America/Barbados"""
AmericaBarbados
"""America/Belem"""
AmericaBelem
"""America/Belize"""
AmericaBelize
"""America/Blanc-Sablon"""
AmericaBlancSablon
"""America/Boa_Vista"""
AmericaBoaVista
"""America/Bogota"""
AmericaBogota
"""America/Boise"""
AmericaBoise
"""America/Buenos_Aires"""
AmericaBuenosAires
"""America/Cambridge_Bay"""
AmericaCambridgeBay
"""America/Campo_Grande"""
AmericaCampoGrande
"""America/Cancun"""
AmericaCancun
"""America/Caracas"""
AmericaCaracas
"""America/Catamarca"""
AmericaCatamarca
"""America/Cayenne"""
AmericaCayenne
"""America/Cayman"""
AmericaCayman
"""America/Chicago"""
AmericaChicago
"""America/Chihuahua"""
AmericaChihuahua
"""America/Coral_Harbour"""
AmericaCoralHarbour
"""America/Cordoba"""
AmericaCordoba
"""America/Costa_Rica"""
AmericaCostaRica
"""America/Creston"""
AmericaCreston
"""America/Cuiaba"""
AmericaCuiaba
"""America/Curacao"""
AmericaCuracao
"""America/Danmarkshavn"""
AmericaDanmarkshavn
"""America/Dawson"""
AmericaDawson
"""America/Dawson_Creek"""
AmericaDawsonCreek
"""America/Denver"""
AmericaDenver
"""America/Detroit"""
AmericaDetroit
"""America/Dominica"""
AmericaDominica
"""America/Edmonton"""
AmericaEdmonton
"""America/Eirunepe"""
AmericaEirunepe
"""America/El_Salvador"""
AmericaElSalvador
"""America/Ensenada"""
AmericaEnsenada
"""America/Fortaleza"""
AmericaFortaleza
"""America/Fort_Nelson"""
AmericaFortNelson
"""America/Fort_Wayne"""
AmericaFortWayne
"""America/Glace_Bay"""
AmericaGlaceBay
"""America/Godthab"""
AmericaGodthab
"""America/Goose_Bay"""
AmericaGooseBay
"""America/Grand_Turk"""
AmericaGrandTurk
"""America/Grenada"""
AmericaGrenada
"""America/Guadeloupe"""
AmericaGuadeloupe
"""America/Guatemala"""
AmericaGuatemala
"""America/Guayaquil"""
AmericaGuayaquil
"""America/Guyana"""
AmericaGuyana
"""America/Halifax"""
AmericaHalifax
"""America/Havana"""
AmericaHavana
"""America/Hermosillo"""
AmericaHermosillo
"""America/Indiana/Indianapolis"""
AmericaIndianaIndianapolis
"""America/Indiana/Knox"""
AmericaIndianaKnox
"""America/Indiana/Marengo"""
AmericaIndianaMarengo
"""America/Indiana/Petersburg"""
AmericaIndianaPetersburg
"""America/Indianapolis"""
AmericaIndianapolis
"""America/Indiana/Tell_City"""
AmericaIndianaTellCity
"""America/Indiana/Vevay"""
AmericaIndianaVevay
"""America/Indiana/Vincennes"""
AmericaIndianaVincennes
"""America/Indiana/Winamac"""
AmericaIndianaWinamac
"""America/Inuvik"""
AmericaInuvik
"""America/Iqaluit"""
AmericaIqaluit
"""America/Jamaica"""
AmericaJamaica
"""America/Jujuy"""
AmericaJujuy
"""America/Juneau"""
AmericaJuneau
"""America/Kentucky/Louisville"""
AmericaKentuckyLouisville
"""America/Kentucky/Monticello"""
AmericaKentuckyMonticello
"""America/Knox_IN"""
AmericaKnoxIN
"""America/Kralendijk"""
AmericaKralendijk
"""America/La_Paz"""
AmericaLaPaz
"""America/Lima"""
AmericaLima
"""America/Los_Angeles"""
AmericaLosAngeles
"""America/Louisville"""
AmericaLouisville
"""America/Lower_Princes"""
AmericaLowerPrinces
"""America/Maceio"""
AmericaMaceio
"""America/Managua"""
AmericaManagua
"""America/Manaus"""
AmericaManaus
"""America/Marigot"""
AmericaMarigot
"""America/Martinique"""
AmericaMartinique
"""America/Matamoros"""
AmericaMatamoros
"""America/Mazatlan"""
AmericaMazatlan
"""America/Mendoza"""
AmericaMendoza
"""America/Menominee"""
AmericaMenominee
"""America/Merida"""
AmericaMerida
"""America/Metlakatla"""
AmericaMetlakatla
"""America/Mexico_City"""
AmericaMexicoCity
"""America/Miquelon"""
AmericaMiquelon
"""America/Moncton"""
AmericaMoncton
"""America/Monterrey"""
AmericaMonterrey
"""America/Montevideo"""
AmericaMontevideo
"""America/Montreal"""
AmericaMontreal
"""America/Montserrat"""
AmericaMontserrat
"""America/Nassau"""
AmericaNassau
"""America/New_York"""
AmericaNewYork
"""America/Nipigon"""
AmericaNipigon
"""America/Nome"""
AmericaNome
"""America/Noronha"""
AmericaNoronha
"""America/North_Dakota/Beulah"""
AmericaNorthDakotaBeulah
"""America/North_Dakota/Center"""
AmericaNorthDakotaCenter
"""America/North_Dakota/New_Salem"""
AmericaNorthDakotaNewSalem
"""America/Nuuk"""
AmericaNuuk
"""America/Ojinaga"""
AmericaOjinaga
"""America/Panama"""
AmericaPanama
"""America/Pangnirtung"""
AmericaPangnirtung
"""America/Paramaribo"""
AmericaParamaribo
"""America/Phoenix"""
AmericaPhoenix
"""America/Port-au-Prince"""
AmericaPortauPrince
"""America/Porto_Acre"""
AmericaPortoAcre
"""America/Port_of_Spain"""
AmericaPortofSpain
"""America/Porto_Velho"""
AmericaPortoVelho
"""America/Puerto_Rico"""
AmericaPuertoRico
"""America/Punta_Arenas"""
AmericaPuntaArenas
"""America/Rainy_River"""
AmericaRainyRiver
"""America/Rankin_Inlet"""
AmericaRankinInlet
"""America/Recife"""
AmericaRecife
"""America/Regina"""
AmericaRegina
"""America/Resolute"""
AmericaResolute
"""America/Rio_Branco"""
AmericaRioBranco
"""America/Rosario"""
AmericaRosario
"""America/Santa_Isabel"""
AmericaSantaIsabel
"""America/Santarem"""
AmericaSantarem
"""America/Santiago"""
AmericaSantiago
"""America/Santo_Domingo"""
AmericaSantoDomingo
"""America/Sao_Paulo"""
AmericaSaoPaulo
"""America/Scoresbysund"""
AmericaScoresbysund
"""America/Shiprock"""
AmericaShiprock
"""America/Sitka"""
AmericaSitka
"""America/St_Barthelemy"""
AmericaStBarthelemy
"""America/St_Johns"""
AmericaStJohns
"""America/St_Kitts"""
AmericaStKitts
"""America/St_Lucia"""
AmericaStLucia
"""America/St_Thomas"""
AmericaStThomas
"""America/St_Vincent"""
AmericaStVincent
"""America/Swift_Current"""
AmericaSwiftCurrent
"""America/Tegucigalpa"""
AmericaTegucigalpa
"""America/Thule"""
AmericaThule
"""America/Thunder_Bay"""
AmericaThunderBay
"""America/Tijuana"""
AmericaTijuana
"""America/Toronto"""
AmericaToronto
"""America/Tortola"""
AmericaTortola
"""America/Vancouver"""
AmericaVancouver
"""America/Virgin"""
AmericaVirgin
"""America/Whitehorse"""
AmericaWhitehorse
"""America/Winnipeg"""
AmericaWinnipeg
"""America/Yakutat"""
AmericaYakutat
"""America/Yellowknife"""
AmericaYellowknife
"""Antarctica/Casey"""
AntarcticaCasey
"""Antarctica/Davis"""
AntarcticaDavis
"""Antarctica/DumontDUrville"""
AntarcticaDumontDUrville
"""Antarctica/Macquarie"""
AntarcticaMacquarie
"""Antarctica/Mawson"""
AntarcticaMawson
"""Antarctica/McMurdo"""
AntarcticaMcMurdo
"""Antarctica/Palmer"""
AntarcticaPalmer
"""Antarctica/Rothera"""
AntarcticaRothera
"""Antarctica/South_Pole"""
AntarcticaSouthPole
"""Antarctica/Syowa"""
AntarcticaSyowa
"""Antarctica/Troll"""
AntarcticaTroll
"""Antarctica/Vostok"""
AntarcticaVostok
"""Arctic/Longyearbyen"""
ArcticLongyearbyen
"""Asia/Aden"""
AsiaAden
"""Asia/Almaty"""
AsiaAlmaty
"""Asia/Amman"""
AsiaAmman
"""Asia/Anadyr"""
AsiaAnadyr
"""Asia/Aqtau"""
AsiaAqtau
"""Asia/Aqtobe"""
AsiaAqtobe
"""Asia/Ashgabat"""
AsiaAshgabat
"""Asia/Ashkhabad"""
AsiaAshkhabad
"""Asia/Atyrau"""
AsiaAtyrau
"""Asia/Baghdad"""
AsiaBaghdad
"""Asia/Bahrain"""
AsiaBahrain
"""Asia/Baku"""
AsiaBaku
"""Asia/Bangkok"""
AsiaBangkok
"""Asia/Barnaul"""
AsiaBarnaul
"""Asia/Beirut"""
AsiaBeirut
"""Asia/Bishkek"""
AsiaBishkek
"""Asia/Brunei"""
AsiaBrunei
"""Asia/Calcutta"""
AsiaCalcutta
"""Asia/Chita"""
AsiaChita
"""Asia/Choibalsan"""
AsiaChoibalsan
"""Asia/Chongqing"""
AsiaChongqing
"""Asia/Chungking"""
AsiaChungking
"""Asia/Colombo"""
AsiaColombo
"""Asia/Dacca"""
AsiaDacca
"""Asia/Damascus"""
AsiaDamascus
"""Asia/Dhaka"""
AsiaDhaka
"""Asia/Dili"""
AsiaDili
"""Asia/Dubai"""
AsiaDubai
"""Asia/Dushanbe"""
AsiaDushanbe
"""Asia/Famagusta"""
AsiaFamagusta
"""Asia/Gaza"""
AsiaGaza
"""Asia/Harbin"""
AsiaHarbin
"""Asia/Hebron"""
AsiaHebron
"""Asia/Ho_Chi_Minh"""
AsiaHoChiMinh
"""Asia/Hong_Kong"""
AsiaHongKong
"""Asia/Hovd"""
AsiaHovd
"""Asia/Irkutsk"""
AsiaIrkutsk
"""Asia/Istanbul"""
AsiaIstanbul
"""Asia/Jakarta"""
AsiaJakarta
"""Asia/Jayapura"""
AsiaJayapura
"""Asia/Jerusalem"""
AsiaJerusalem
"""Asia/Kabul"""
AsiaKabul
"""Asia/Kamchatka"""
AsiaKamchatka
"""Asia/Karachi"""
AsiaKarachi
"""Asia/Kashgar"""
AsiaKashgar
"""Asia/Kathmandu"""
AsiaKathmandu
"""Asia/Katmandu"""
AsiaKatmandu
"""Asia/Khandyga"""
AsiaKhandyga
"""Asia/Kolkata"""
AsiaKolkata
"""Asia/Krasnoyarsk"""
AsiaKrasnoyarsk
"""Asia/Kuala_Lumpur"""
AsiaKualaLumpur
"""Asia/Kuching"""
AsiaKuching
"""Asia/Kuwait"""
AsiaKuwait
"""Asia/Macao"""
AsiaMacao
"""Asia/Macau"""
AsiaMacau
"""Asia/Magadan"""
AsiaMagadan
"""Asia/Makassar"""
AsiaMakassar
"""Asia/Manila"""
AsiaManila
"""Asia/Muscat"""
AsiaMuscat
"""Asia/Nicosia"""
AsiaNicosia
"""Asia/Novokuznetsk"""
AsiaNovokuznetsk
"""Asia/Novosibirsk"""
AsiaNovosibirsk
"""Asia/Omsk"""
AsiaOmsk
"""Asia/Oral"""
AsiaOral
"""Asia/Phnom_Penh"""
AsiaPhnomPenh
"""Asia/Pontianak"""
AsiaPontianak
"""Asia/Pyongyang"""
AsiaPyongyang
"""Asia/Qatar"""
AsiaQatar
"""Asia/Qostanay"""
AsiaQostanay
"""Asia/Qyzylorda"""
AsiaQyzylorda
"""Asia/Rangoon"""
AsiaRangoon
"""Asia/Riyadh"""
AsiaRiyadh
"""Asia/Saigon"""
AsiaSaigon
"""Asia/Sakhalin"""
AsiaSakhalin
"""Asia/Samarkand"""
AsiaSamarkand
"""Asia/Seoul"""
AsiaSeoul
"""Asia/Shanghai"""
AsiaShanghai
"""Asia/Singapore"""
AsiaSingapore
"""Asia/Srednekolymsk"""
AsiaSrednekolymsk
"""Asia/Taipei"""
AsiaTaipei
"""Asia/Tashkent"""
AsiaTashkent
"""Asia/Tbilisi"""
AsiaTbilisi
"""Asia/Tehran"""
AsiaTehran
"""Asia/Tel_Aviv"""
AsiaTelAviv
"""Asia/Thimbu"""
AsiaThimbu
"""Asia/Thimphu"""
AsiaThimphu
"""Asia/Tokyo"""
AsiaTokyo
"""Asia/Tomsk"""
AsiaTomsk
"""Asia/Ujung_Pandang"""
AsiaUjungPandang
"""Asia/Ulaanbaatar"""
AsiaUlaanbaatar
"""Asia/Ulan_Bator"""
AsiaUlanBator
"""Asia/Urumqi"""
AsiaUrumqi
"""Asia/Ust-Nera"""
AsiaUstNera
"""Asia/Vientiane"""
AsiaVientiane
"""Asia/Vladivostok"""
AsiaVladivostok
"""Asia/Yakutsk"""
AsiaYakutsk
"""Asia/Yangon"""
AsiaYangon
"""Asia/Yekaterinburg"""
AsiaYekaterinburg
"""Asia/Yerevan"""
AsiaYerevan
"""Atlantic/Azores"""
AtlanticAzores
"""Atlantic/Bermuda"""
AtlanticBermuda
"""Atlantic/Canary"""
AtlanticCanary
"""Atlantic/Cape_Verde"""
AtlanticCapeVerde
"""Atlantic/Faeroe"""
AtlanticFaeroe
"""Atlantic/Faroe"""
AtlanticFaroe
"""Atlantic/Jan_Mayen"""
AtlanticJanMayen
"""Atlantic/Madeira"""
AtlanticMadeira
"""Atlantic/Reykjavik"""
AtlanticReykjavik
"""Atlantic/South_Georgia"""
AtlanticSouthGeorgia
"""Atlantic/Stanley"""
AtlanticStanley
"""Atlantic/St_Helena"""
AtlanticStHelena
"""Australia/ACT"""
AustraliaACT
"""Australia/Adelaide"""
AustraliaAdelaide
"""Australia/Brisbane"""
AustraliaBrisbane
"""Australia/Broken_Hill"""
AustraliaBrokenHill
"""Australia/Canberra"""
AustraliaCanberra
"""Australia/Currie"""
AustraliaCurrie
"""Australia/Darwin"""
AustraliaDarwin
"""Australia/Eucla"""
AustraliaEucla
"""Australia/Hobart"""
AustraliaHobart
"""Australia/LHI"""
AustraliaLHI
"""Australia/Lindeman"""
AustraliaLindeman
"""Australia/Lord_Howe"""
AustraliaLordHowe
"""Australia/Melbourne"""
AustraliaMelbourne
"""Australia/North"""
AustraliaNorth
"""Australia/NSW"""
AustraliaNSW
"""Australia/Perth"""
AustraliaPerth
"""Australia/Queensland"""
AustraliaQueensland
"""Australia/South"""
AustraliaSouth
"""Australia/Sydney"""
AustraliaSydney
"""Australia/Tasmania"""
AustraliaTasmania
"""Australia/Victoria"""
AustraliaVictoria
"""Australia/West"""
AustraliaWest
"""Australia/Yancowinna"""
AustraliaYancowinna
"""Brazil/Acre"""
BrazilAcre
"""Brazil/DeNoronha"""
BrazilDeNoronha
"""Brazil/East"""
BrazilEast
"""Brazil/West"""
BrazilWest
"""Canada/Atlantic"""
CanadaAtlantic
"""Canada/Central"""
CanadaCentral
"""Canada/Eastern"""
CanadaEastern
"""Canada/Mountain"""
CanadaMountain
"""Canada/Newfoundland"""
CanadaNewfoundland
"""Canada/Pacific"""
CanadaPacific
"""Canada/Saskatchewan"""
CanadaSaskatchewan
"""Canada/Yukon"""
CanadaYukon
"""CET"""
CET
"""Chile/Continental"""
ChileContinental
"""Chile/EasterIsland"""
ChileEasterIsland
"""CST6CDT"""
CST6CDT
"""Cuba"""
Cuba
"""EET"""
EET
"""Egypt"""
Egypt
"""Eire"""
Eire
"""EST"""
EST
"""EST5EDT"""
EST5EDT
"""Etc/GMT"""
EtcGMT
"""Etc/GMT0"""
EtcGMT0
"""Etc/GMT-0"""
EtcGMTMinus0
"""Etc/GMT-1"""
EtcGMTMinus1
"""Etc/GMT-10"""
EtcGMTMinus10
"""Etc/GMT-11"""
EtcGMTMinus11
"""Etc/GMT-12"""
EtcGMTMinus12
"""Etc/GMT-13"""
EtcGMTMinus13
"""Etc/GMT-14"""
EtcGMTMinus14
"""Etc/GMT-2"""
EtcGMTMinus2
"""Etc/GMT-3"""
EtcGMTMinus3
"""Etc/GMT-4"""
EtcGMTMinus4
"""Etc/GMT-5"""
EtcGMTMinus5
"""Etc/GMT-6"""
EtcGMTMinus6
"""Etc/GMT-7"""
EtcGMTMinus7
"""Etc/GMT-8"""
EtcGMTMinus8
"""Etc/GMT-9"""
EtcGMTMinus9
"""Etc/GMT+0"""
EtcGMTPlus0
"""Etc/GMT+1"""
EtcGMTPlus1
"""Etc/GMT+10"""
EtcGMTPlus10
"""Etc/GMT+11"""
EtcGMTPlus11
"""Etc/GMT+12"""
EtcGMTPlus12
"""Etc/GMT+2"""
EtcGMTPlus2
"""Etc/GMT+3"""
EtcGMTPlus3
"""Etc/GMT+4"""
EtcGMTPlus4
"""Etc/GMT+5"""
EtcGMTPlus5
"""Etc/GMT+6"""
EtcGMTPlus6
"""Etc/GMT+7"""
EtcGMTPlus7
"""Etc/GMT+8"""
EtcGMTPlus8
"""Etc/GMT+9"""
EtcGMTPlus9
"""Etc/Greenwich"""
EtcGreenwich
"""Etc/UCT"""
EtcUCT
"""Etc/Universal"""
EtcUniversal
"""Etc/UTC"""
EtcUTC
"""Etc/Zulu"""
EtcZulu
"""Europe/Amsterdam"""
EuropeAmsterdam
"""Europe/Andorra"""
EuropeAndorra
"""Europe/Astrakhan"""
EuropeAstrakhan
"""Europe/Athens"""
EuropeAthens
"""Europe/Belfast"""
EuropeBelfast
"""Europe/Belgrade"""
EuropeBelgrade
"""Europe/Berlin"""
EuropeBerlin
"""Europe/Bratislava"""
EuropeBratislava
"""Europe/Brussels"""
EuropeBrussels
"""Europe/Bucharest"""
EuropeBucharest
"""Europe/Budapest"""
EuropeBudapest
"""Europe/Busingen"""
EuropeBusingen
"""Europe/Chisinau"""
EuropeChisinau
"""Europe/Copenhagen"""
EuropeCopenhagen
"""Europe/Dublin"""
EuropeDublin
"""Europe/Gibraltar"""
EuropeGibraltar
"""Europe/Guernsey"""
EuropeGuernsey
"""Europe/Helsinki"""
EuropeHelsinki
"""Europe/Isle_of_Man"""
EuropeIsleofMan
"""Europe/Istanbul"""
EuropeIstanbul
"""Europe/Jersey"""
EuropeJersey
"""Europe/Kaliningrad"""
EuropeKaliningrad
"""Europe/Kiev"""
EuropeKiev
"""Europe/Kirov"""
EuropeKirov
"""Europe/Lisbon"""
EuropeLisbon
"""Europe/Ljubljana"""
EuropeLjubljana
"""Europe/London"""
EuropeLondon
"""Europe/Luxembourg"""
EuropeLuxembourg
"""Europe/Madrid"""
EuropeMadrid
"""Europe/Malta"""
EuropeMalta
"""Europe/Mariehamn"""
EuropeMariehamn
"""Europe/Minsk"""
EuropeMinsk
"""Europe/Monaco"""
EuropeMonaco
"""Europe/Moscow"""
EuropeMoscow
"""Europe/Nicosia"""
EuropeNicosia
"""Europe/Oslo"""
EuropeOslo
"""Europe/Paris"""
EuropeParis
"""Europe/Podgorica"""
EuropePodgorica
"""Europe/Prague"""
EuropePrague
"""Europe/Riga"""
EuropeRiga
"""Europe/Rome"""
EuropeRome
"""Europe/Samara"""
EuropeSamara
"""Europe/San_Marino"""
EuropeSanMarino
"""Europe/Sarajevo"""
EuropeSarajevo
"""Europe/Saratov"""
EuropeSaratov
"""Europe/Simferopol"""
EuropeSimferopol
"""Europe/Skopje"""
EuropeSkopje
"""Europe/Sofia"""
EuropeSofia
"""Europe/Stockholm"""
EuropeStockholm
"""Europe/Tallinn"""
EuropeTallinn
"""Europe/Tirane"""
EuropeTirane
"""Europe/Tiraspol"""
EuropeTiraspol
"""Europe/Ulyanovsk"""
EuropeUlyanovsk
"""Europe/Uzhgorod"""
EuropeUzhgorod
"""Europe/Vaduz"""
EuropeVaduz
"""Europe/Vatican"""
EuropeVatican
"""Europe/Vienna"""
EuropeVienna
"""Europe/Vilnius"""
EuropeVilnius
"""Europe/Volgograd"""
EuropeVolgograd
"""Europe/Warsaw"""
EuropeWarsaw
"""Europe/Zagreb"""
EuropeZagreb
"""Europe/Zaporozhye"""
EuropeZaporozhye
"""Europe/Zurich"""
EuropeZurich
"""GB"""
GB
"""GB-Eire"""
GBEire
"""GMT"""
GMT
"""GMT0"""
GMT0
"""GMT-0"""
GMTMinus0
"""GMT+0"""
GMTPlus0
"""Greenwich"""
Greenwich
"""Hongkong"""
Hongkong
"""HST"""
HST
"""Iceland"""
Iceland
"""Indian/Antananarivo"""
IndianAntananarivo
"""Indian/Chagos"""
IndianChagos
"""Indian/Christmas"""
IndianChristmas
"""Indian/Cocos"""
IndianCocos
"""Indian/Comoro"""
IndianComoro
"""Indian/Kerguelen"""
IndianKerguelen
"""Indian/Mahe"""
IndianMahe
"""Indian/Maldives"""
IndianMaldives
"""Indian/Mauritius"""
IndianMauritius
"""Indian/Mayotte"""
IndianMayotte
"""Indian/Reunion"""
IndianReunion
"""Iran"""
Iran
"""Israel"""
Israel
"""Jamaica"""
Jamaica
"""Japan"""
Japan
"""Kwajalein"""
Kwajalein
"""Libya"""
Libya
"""MET"""
MET
"""Mexico/BajaNorte"""
MexicoBajaNorte
"""Mexico/BajaSur"""
MexicoBajaSur
"""Mexico/General"""
MexicoGeneral
"""MST"""
MST
"""MST7MDT"""
MST7MDT
"""Navajo"""
Navajo
"""NZ"""
NZ
"""NZ-CHAT"""
NZCHAT
"""Pacific/Apia"""
PacificApia
"""Pacific/Auckland"""
PacificAuckland
"""Pacific/Bougainville"""
PacificBougainville
"""Pacific/Chatham"""
PacificChatham
"""Pacific/Chuuk"""
PacificChuuk
"""Pacific/Easter"""
PacificEaster
"""Pacific/Efate"""
PacificEfate
"""Pacific/Enderbury"""
PacificEnderbury
"""Pacific/Fakaofo"""
PacificFakaofo
"""Pacific/Fiji"""
PacificFiji
"""Pacific/Funafuti"""
PacificFunafuti
"""Pacific/Galapagos"""
PacificGalapagos
"""Pacific/Gambier"""
PacificGambier
"""Pacific/Guadalcanal"""
PacificGuadalcanal
"""Pacific/Guam"""
PacificGuam
"""Pacific/Honolulu"""
PacificHonolulu
"""Pacific/Johnston"""
PacificJohnston
"""Pacific/Kiritimati"""
PacificKiritimati
"""Pacific/Kosrae"""
PacificKosrae
"""Pacific/Kwajalein"""
PacificKwajalein
"""Pacific/Majuro"""
PacificMajuro
"""Pacific/Marquesas"""
PacificMarquesas
"""Pacific/Midway"""
PacificMidway
"""Pacific/Nauru"""
PacificNauru
"""Pacific/Niue"""
PacificNiue
"""Pacific/Norfolk"""
PacificNorfolk
"""Pacific/Noumea"""
PacificNoumea
"""Pacific/Pago_Pago"""
PacificPagoPago
"""Pacific/Palau"""
PacificPalau
"""Pacific/Pitcairn"""
PacificPitcairn
"""Pacific/Pohnpei"""
PacificPohnpei
"""Pacific/Ponape"""
PacificPonape
"""Pacific/Port_Moresby"""
PacificPortMoresby
"""Pacific/Rarotonga"""
PacificRarotonga
"""Pacific/Saipan"""
PacificSaipan
"""Pacific/Samoa"""
PacificSamoa
"""Pacific/Tahiti"""
PacificTahiti
"""Pacific/Tarawa"""
PacificTarawa
"""Pacific/Tongatapu"""
PacificTongatapu
"""Pacific/Truk"""
PacificTruk
"""Pacific/Wake"""
PacificWake
"""Pacific/Wallis"""
PacificWallis
"""Pacific/Yap"""
PacificYap
"""Poland"""
Poland
"""Portugal"""
Portugal
"""PRC"""
PRC
"""PST8PDT"""
PST8PDT
"""ROC"""
ROC
"""ROK"""
ROK
"""Singapore"""
Singapore
"""Turkey"""
Turkey
"""UCT"""
UCT
"""Universal"""
Universal
"""US/Alaska"""
USAlaska
"""US/Aleutian"""
USAleutian
"""US/Arizona"""
USArizona
"""US/Central"""
USCentral
"""US/Eastern"""
USEastern
"""US/East-Indiana"""
USEastIndiana
"""US/Hawaii"""
USHawaii
"""US/Indiana-Starke"""
USIndianaStarke
"""US/Michigan"""
USMichigan
"""US/Mountain"""
USMountain
"""US/Pacific"""
USPacific
"""US/Pacific-New"""
USPacificNew
"""US/Samoa"""
USSamoa
"""UTC"""
UTC
"""WET"""
WET
"""W-SU"""
WSU
"""Zulu"""
Zulu
}
```
## Dependency
To list and validate the timezone, this library uses [MomentTimezone](https://momentjs.com/timezone/docs/).

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc