You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invalid Date format in Hover data when full hour (0 mins) #911
If the time is full hour (0 minutes), e.g. 12:00, the minutes part is stripped from points[index].x in plotly_hover event.
For x value of '2001-06-11 12:00', the points[0].x value is '2001-06-11 12' - the missing minutes part makes it invalid Date when used in new Date(points[0].x).
Ah interesting... true, every other truncation of the full date format is common except this one. I'll make sure we keep minutes unless hours are going away too.
Activity
etpinard commentedon Oct 18, 2016
pinging @alexcjohnson - who's been working on our date handlers lately.
alexcjohnson commentedon Oct 18, 2016
Ah interesting... true, every other truncation of the full date format is common except this one. I'll make sure we keep minutes unless hours are going away too.