soulim / ember-cli-bootstrap-datepicker

Datepicker component for Ember CLI
http://sul.im/ember-cli-bootstrap-datepicker
MIT License
67 stars 57 forks source link

Fix unwanted behavior when modifying time on the Date value #62

Closed fklingler closed 9 years ago

fklingler commented 9 years ago

Since time was reset to 0 because of a bug on boostrap-datepicker, you were not able to bind the component value on a Date object were you would change its time value.

This fixes it with cloning the date object sent to the bootstrap datepicker object.

trytuna commented 9 years ago

+1 run exactly into this problem today. Good work @fklingler !

soulim commented 9 years ago

Well done @fklingler :+1: Thank you very much for help!

soulim commented 9 years ago

@fklingler your fix is already available in v0.5.5 (nice version number, btw :wink:) and published to npm repository.

fklingler commented 9 years ago

Nice, thanks !