This repository was archived by the owner on May 29, 2019. It is now read-only.
Datepicker popup UTC Timezone issueย #6235
Open
Description
Bug description:
I've noticed a weird issue when using the UTC timezone. For users west of UTC, like NY, adding the ng-model-options to UTC things work as they should.
However when you set your local timezone to something like UTC+2 and you open the popup that contains the ng-model-options, the date is highlighted incorrectly to the day before. The popup without the ng-model-options highlights the day correctly
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/Y28iutmgkWkCINTUvRoq?p=preview
The first popup is the one without the ng model options, the second one contains it.
Version of Angular, UIBS, and Bootstrap
Angular:
1.5.8
UIBS:
2.1.3
Bootstrap:
3.3.6