fix timestamp for line chart hover points

Without the `new`, `Date()` in js always returns the current date.