Trim extra space in year value