ng2-ui / datetime-picker

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

Date format not working #154

Closed kkarandikar0807 closed 7 years ago

kkarandikar0807 commented 7 years ago

In my constructor I have a variable called testDate and I have initialized that as private testDate: Date = new Date(); Now when I bind my input and give the property of date-format ="MM/DD/YYYY", it works perfectly fine. But, if I give a timeout and then do the same thing, the date format doesnt change. Current behavior

Expected/desired behavior

Other information

allenhwkim commented 7 years ago

It seems duplicate to https://github.com/ng2-ui/ng2-datetime-picker/issues/143