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.29k stars 6.73k forks source link

Datepicker Time #6346

Closed danielflippance closed 7 years ago

danielflippance commented 7 years ago

Bug description:

There appears to be no way to set the time of day for the datepicker. I use two date pickers for startDate and endDate where the user picks only the date, not the time, but I want the start date time in the model to be 00:00:00 and the end date time in the model to be 23:59:59

Version of Angular, UIBS, and Bootstrap

Angular: 1.5.8

UIBS: 2.0.2

Bootstrap: 3.1.1

wesleycho commented 7 years ago

The only way to set it is through explicit setting of a date object in the model.

wesleycho commented 7 years ago

Going to close this as already doable through other means.