Closed
Description
In my timezone (America/Denver), when plotting times during the day that daylight savings time went into effect in the United States, plotted points are off by 1 hour.
The following example plots March 8th @ 11pm, and March 9th @ 12am.
Expected: these points should plot as 1 hour apart.
Actual: these points are plotting as the same point in time, as 12am on March 9th.
Code:
var data = [
{
x: ['2015-03-08 23:00:00', '2015-03-09 00:00:00'],
y: [1, 3],
type: 'scatter'
}
];
Plotly.newPlot('myDiv', data);
Details: in my cursory tests, all points between March 8th @ 3am (inclusive) and March 9th @ 12 am (exclusive) are plotted 1 hour off, due to confusion with Daylight Savings time.
Tested against plotly.js v1.3.1 (minified)
I suggest that any fix for this should also be tested against points during the day when daylight savings time ended in the U.S., which is November 1, 2015