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
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.
If the time is full hour (0 minutes), e.g. 12:00, the minutes part is stripped from
points[index].x
inplotly_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)
.See this codepen
The text was updated successfully, but these errors were encountered: