-
Notifications
You must be signed in to change notification settings - Fork 598
Open
Description
Trying to plot a time series that uses the following ISO date stamp in Google Chrome:
1970-01-01T00:00:00.000Z
It returns the following error message:
"Couldn't parse 1970-01-01T00:00:00.000Z as a date"
This works for any other date in the format yyyy-mm-ddT00:00:00.000Z
This is apparently a known issue in js on different browsers:
https://stackoverflow.com/questions/2587345/why-does-date-parse-give-incorrect-results
It can be recreated by providing the following data object to a new dygraph plot. If the problematic date is the first in the time series, it does not draw a plot. If it is in the middle, it just skips plotting that data point
Date,Data
1969-12-31T00:00:00.000Z,5.44
1970-01-01T00:00:00.000Z,5.35
1970-01-02T00:00:00.000Z,5.18
Metadata
Metadata
Assignees
Labels
No labels