Giter VIP home page Giter VIP logo

timezones-list's Introduction

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

timezones-list's People

Contributors

ilyahas avatar kataik avatar nwylynko avatar omsrivastava avatar raphaelpinel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

timezones-list's Issues

Wrong GMT time for America/Santiago

I noticed the GMT offset of America/Santiago should be -03:00 instead of -04:00 in JSON file:

{
	"label":"America/Santiago (GMT-04:00)",
	"tzCode":"America/Santiago",
	"name":"(GMT-04:00) Santiago, Puente Alto, Antofagasta, Viña del Mar, Valparaíso",
	"utc":"-04:00"
}

Please consider adding note in readme.

Please consider adding a note in readme that this package is not being maintained actively with your alternative suggestions.

We hit an issue on production today and realized that there are some invalid/out-of-date timezones. I see other uses reported similar issues #6

An alternative option could be https://github.com/vvo/tzdb

Thank you!

Labels (and offsets) don't account for DST

The labels and utc fields have a hard-coded UTC / GMT offset, but that offset changes depending on DST in some timezones.

E.g. New Zealand (Pacific/Auckland) changes between NZST (+12:00) and NZDT (+13:00) depending on DST. Having a label of (GMT+13:00) Auckland is going to be inaccurate for half of the year when Auckland is in NZST.

Wrong name for Kyiv

Hi,
We received a request from a Ukraine customer to change the time zone name from Kiev to Kyiv, which correct name.

image (1)

Google search

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.