Change date format for datepicker.