change date format for the datepicker