This repository was archived by the owner on Sep 5, 2024. It is now read-only.
datepicker: ng-model-options timezone option not handled properly #10971
Labels
i18n: localization
This issue is related to internationalization
resolution: duplicate
type: bug
ux: integration
Actual Behavior:
What is the issue?
The text for the date is correct but the date doesn't show up correctly in the Calendar. For me the date selected in the calendar is one day behind. I think this would be the case for users with a local time zone east of UTC. (a negative offset)
What is the expected behavior?
The dates should match
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
https://codepen.io/johnjplaisted/pen/WXGNBX?editors=1111
Details:
The text for the date shows 11/15/2017, but the calendar selects 11/14/2017.
I think this has to do with timezone adjustments.
AngularJS Versions: *
AngularJS Version:
1.5.5AngularJS Material Version:
1.1.5Additional Information:
Browser Type:
Firefox, ChromeBrowser Version:
56.0.2 , 61.0.3163.100OS:
Windows 7Stack Traces:
The text was updated successfully, but these errors were encountered: