Fixed input year to be a number.