Fix prefill of date input to usefull values