Fixed regression with datetime tooltip header format falling back to full years. Closes #2581.