Skip to content

Timezone label is not updating on input field #959

Open
@ujwol

Description

@ujwol

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions