fix lineshart tooltip bug for dates