Date field: Year field is not validating properly