Second attempt at fixing the bootstrap-datetimepicker. Seems to work now.