fix date or date-time for event/all day