update date format and series tooltip error