angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.3k stars 6.74k forks source link

fix(datepicker): initDate does not change #6638

Open arcdev opened 6 years ago

arcdev commented 6 years ago

Closes 6636

change the datepicker activeDate so it uses a copy of the initDate instead of a reference to initDate. This way when the user clicks Next or Previous, activeDate changes but initDate does not.

https://github.com/angular-ui/bootstrap/issues/6636