1.1.1 • Published 4 years ago

@dacoto/timezone.js v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

A library to obtain the list of time zones.

Installation

// npm install
npm install @dacoto/timezone.js

// yarn install
npm add @dacoto/timezone.js

Usage

Include
    import Timezone from '@dacoto/timezone.js';

or

    <script src="dist/timezone.js"></script>
Use in javascript
  • List time zones
    Timezone.getAll(); // {"Pacific/Niue":"(GMT-11:00) Niue","Pacific/Pago_Pago":"(GMT-11:00 ...
  • Get time zone name
    Timezone.getTimezone('Europe/Madrid'); // (GMT+01:00) Madrid

License

MIT

1.1.1

4 years ago

1.1.0

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago