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

Timezone enum type for GraphQL

  • 2.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
836
increased by7.18%
Maintainers
1
Weekly downloads
 
Created
Source

GraphQL Timezone

Timezone scalar type for GraphQL.js.

Ex: Europe/Prague

Usage

This package exports a Timezone enum GraphQL.js type and list of available timezones as array of strings:

import timezoneScalar, { timezones } from 'graphql-timezone';

// Generate Timezone scalar
const Timezone = timezoneScalar();

// Generate Timezone with custom name and custom description
const CustomTimezone = timezoneScalar({
  name: 'CustomTimezone',
  description: 'Description of Custom Timezone scalar.'
});

// Get list of avaliable timezones
const listOfAvailableTimezones: string[] = timezones;

Bonus - values for select

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.

Keywords

FAQs

Package last updated on 10 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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