Added a callback on format for Bootstrap Datepicker