time/datepicker fixes