updated to default day to 1 in the datepicker