🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

timezones-list

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezones-list

List of all timezones

3.1.0
latest
Version published
Weekly downloads
64K
3.84%
Maintainers
1
Weekly downloads
 
Created

timezones-list

This package contains an array of timezones based on conventional options.

It does not follow any complete data set, but it contains almost all basic timezones. And all names are according to the tz format: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

The fields in the array are as follows:

  • label a string label which contains the UTC with the tz code of a timezone
  • tzCode contains the tz codes
  • name contains the descriptive name of the timezone with UTC offset
  • utc contains only the UTC of a timezone

Install

npm install timezones-list --save

# or

yarn add timezones-list

Example

import timezones from 'timezones-list';

// or

var timezones = require('timezones-list');

FAQs

Package last updated on 23 Jan 2025

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