ng2-ui / datetime-picker

Angular2 DateTime Picker
https://ng2-ui.github.io/#/datetime-picker
MIT License
121 stars 62 forks source link

1 day off #6

Closed spalt closed 8 years ago

spalt commented 8 years ago

hi again! it seems when you select a date on the calendar, and the calendar closes, when you open it again, it defaults to 1 day before the currently selected day. i.e. in your plnkr, the date defaults to 2015-01-01 but when you click it it shows 2014-12-31. thanks!

allenhwkim commented 8 years ago

This is a serious bug, I will make a fix soon.

allenhwkim commented 8 years ago

Thanks for reporting this bug, I made a fix and released a new version 0.3.1. please do npm update ng2-datetime-picker

spalt commented 8 years ago

thanks!