Currently all of the Node.js SQL adapters in the Samples-JS return a ISO date string (ie Date.toISOString()) for date fields.
The ISO Date String look like this: 2019-02-01T05:17:49.400Z
In stimulsoft-reports-js, when it attempts to parse the date, the function "fromString" replaces all the full stops with a dash ( replaceAll(".", "-") ), causing it to look like this:
2019-02-01T05:17:49-400Z
Then it attempts to check to see if the date is valid using moment js, which then it doesnt make it past the checks, as its no longer a valid ISO date. Resulting in errors Parse DateTime Error.
Version of stimulsoft-reports-js
Code: Select all
Stimulsoft.Reports.JS
Version: 2019.1.1b
Build date: 2019.01.25