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
I've searched for a while a way to parse dates using this module but couldn't find a quick and efficient one. I suggest adding date parsing as an option parameter (such as { cellDates: true }).
For example, this code: var parser = new (require('simple-excel-to-json').XlsParser)(); var doc = parser.parseXls2Json('./example/sample.xlsx', { cellDates: true });
...should return a JSON object including dates as a JavaScript date format instead of numbers.
The text was updated successfully, but these errors were encountered:
I've searched for a while a way to parse dates using this module but couldn't find a quick and efficient one. I suggest adding date parsing as an option parameter (such as
{ cellDates: true }
).For example, this code:
var parser = new (require('simple-excel-to-json').XlsParser)();
var doc = parser.parseXls2Json('./example/sample.xlsx', { cellDates: true });
...should return a JSON object including dates as a JavaScript date format instead of numbers.
The text was updated successfully, but these errors were encountered: