Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezone label is not updating on input field #959

Open
ujwol opened this issue Mar 8, 2019 · 0 comments
Open

Timezone label is not updating on input field #959

ujwol opened this issue Mar 8, 2019 · 0 comments

Comments

@ujwol
Copy link

ujwol commented Mar 8, 2019

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant