dayjs-timezone-iana-plugin

0.1.0 • Public • Published

Dayjs-timezone-iana-plugin

DayJS timezone plugin alternative to manage DST correctly, using https://www.iana.org/time-zones

Usage

   npm i dayjs-timezone-iana-plugin

In the code:

   dayjs.extend(utc)
   dayjs.extend(require('dayjs-timezone-iana-plugin'))

   dayjs("2014-06-01 12:00").tz("America/New_York")

How to update IANA DB

Todo

  • [ ] Add lot of tests (see moment-timezone tests)

Readme

Keywords

none

Package Sidebar

Install

npm i dayjs-timezone-iana-plugin

Weekly Downloads

9,468

Version

0.1.0

License

Apache-2.0

Unpacked Size

751 kB

Total Files

6

Last publish

Collaborators

  • steevepay
  • guillaume-carbone
  • dgrelaud