Passes function along to Bootstrap Datepicker.