ng2-ui / datetime-picker

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

Datetime picker is broken for IST timezone on Angular 4 #193

Open rgajam opened 7 years ago

rgajam commented 7 years ago

Steps to reproduce Switch your machine's timezone to IST (Mumbai, India) and create a simplest demo app with datetime-picker and try to update the date or time

Current behavior Observe that the date and time are always the current date and time on the widget in spite of changing the value.

Expected/desired behavior Ideally when the value of date and time should be preserved when the datetime-picker is re-opened.