zendesk-timezone
v1.0.1
Published
Convert between Zendesk TimeZone names and the IANA Time Zone Database format for node.js and browsers
Readme
zendesk-timezone-js
This library is a fork of the rails-timezone-js library (https://github.com/davidwood/rails-timezone-js), and takes into account the latest timezone modifications (from current active support time zone). It also allows to list timezones with the names displayed in Zendesk.
It can be used both in node.js and browsers.
Usage
The library provides two functions:
from(timezone): Convert from a zendesk time zone nameto(tz): Convert to a Zendesk time zone name
node.js
npm install zendesk-timezoneBrowser
The functions are exposed via window.ZendeskTimeZone
