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
const pond = require('pondjs');
const index = pond.Index.getIndexString('1d', new Date('1969-12-31')); // 1d--1
new pond.TimeSeries({columns: ['index', 'value'], points: [[index, 1]]});
which should be correct according to the documentation of TimeSeries, throws TypeError: Cannot read property 'begin' of undefined.
The error happens for any date before 1970-01-01, and it works correctly for any date after.
Using an index string of the form 1969-12-01 also results in the same error.
The text was updated successfully, but these errors were encountered:
The following code
which should be correct according to the documentation of TimeSeries, throws TypeError: Cannot read property 'begin' of undefined.
The error happens for any date before 1970-01-01, and it works correctly for any date after.
Using an index string of the form
1969-12-01
also results in the same error.The text was updated successfully, but these errors were encountered: