This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
datepicker: md-calendar panel should respect ng-model-options #10598
Description
Actual Behavior:
What is the issue? *
An md-datepicker with the timezone set to UTC still shows the localized date as selected when viewing the popup calendar.What is the expected behavior?
The popup calendar should highlight the correct date in the context of the model's timezone
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
http://codepen.io/anon/pen/NjxgmRDetails:
Click the down arrow or the calendar icon to see that the previous day is shown as selected in the calendar view rather than the specified day.
AngularJS Versions: *
AngularJS Version:
1.6.4AngularJS Material Version:
1.1.3
Additional Information:
Browser Type: *
ChromeBrowser Version: *
57.0.2987.133OS: *
MacOSStack Traces:
NA