Open ujwol opened 5 years ago
hi, When we define a timezonelist, and then when selecting the label from the dropdown the control displays the offset number not the label.
e.g I used code below $('#timezone_example_2').datetimepicker({ timeFormat: 'HH:mm z', timezoneList: [ { value: -300, label: 'Eastern'}, { value: -360, label: 'Central' }, { value: -420, label: 'Mountain' }, { value: -480, label: 'Pacific' } ] });
from the dropdown list I selected "Pacific" but on the input field I still see "03/22/2019 06:15 -0800"
hi, When we define a timezonelist, and then when selecting the label from the dropdown the control displays the offset number not the label.
e.g I used code below $('#timezone_example_2').datetimepicker({ timeFormat: 'HH:mm z', timezoneList: [ { value: -300, label: 'Eastern'}, { value: -360, label: 'Central' }, { value: -420, label: 'Mountain' }, { value: -480, label: 'Pacific' } ] });
from the dropdown list I selected "Pacific" but on the input field I still see "03/22/2019 06:15 -0800"