calendar input date fix