formatting tooltip with year column