Timezone List
===
List of time zones you can use for your dropdown forms.
Installation
$ npm install timezonelist-js
Usage
var tzlist =
var select = document.getElementById("timezone")
for (var i = 0; i < tzlist.length; i++) {
var timezone = tzlist[i]
select.options[i] = new Option(timezone.text, timezone.value)
}
Custom text
var text = timezone.place + ' (UTC' + timezone.time + ')'
select.options[i] = new Option(text, timezone.value)
Output
{ id: 'Pacific/Midway', value: '(UTC-11:00) Midway Island', place: 'Midway Island', time: '-11:00' }