fix (datepicker) : correcting format on the input