year input handling improvements