timezones-list
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

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');

Package Sidebar

Install

npm i timezones-list

Weekly Downloads

23,208

Version

3.0.3

License

MIT

Unpacked Size

160 kB

Total Files

9

Last publish

Collaborators

  • omsrivastava