change to input date type