This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
input[type=datetime-local] does not support changing the timezone dynamically #13382
Closed
Description
The timezone can be set on type="datetime-local"
inputs (e.g. ng-model-options="{timezone: '+0400'}"
), but once the datetime picker has been created, changes to the timezone are not reflected in the edited value.
This plunk demonstrates the issue: http://plnkr.co/edit/R1cFGi23y0Eq2Fe7iN5h?p=preview - when you click the button then the timezone is put forward an hour, but this is not reflected in the time shown.
This happens in at least Chrome and Firefox on OS X, via angular 1.4.7
.