change format of datepicker