@akiflow/timezones
v0.1.9
Published
Timezones module used across Akiflow products
Downloads
110
Readme
@akiflow/timezones
This package is based on @vvo/tzdb by Vincent Voyer. It also includes a set of abbreviations & aliases for backwards compatibility and some additional improvements. It is currently used across Akiflow products.
Usage
Install
npm install @akiflow/timezones
# or
yarn add @akiflow/timezones
Usage
// es module
import { Timezones } from '@akiflow/timezones'
// OR commonjs
// const { Timezones } = require('@akiflow/timezones')
// initialize time zones
Timezones.instance.init()
// get list of time zones
Timezones.instance.getTimezones()
Requirements
- luxon >= 2.4.0
Contributing
Feel free to open an issue, if you find any.
License
This package and @vvo/tzdb are licensed under MIT License.