Open
Description
🐛 Bug Report
Using styles: cache option with ExcelJs.stream.xlsx.WorkbookReader produces error.
Lib version: 4.0.1
Steps To Reproduce
const workbookReader = new excel.stream.xlsx.WorkbookReader(fileReadStream, { worksheets: 'emit', styles: 'cache', sharedStrings: 'cache', hyperlinks: 'ignore', entries: 'ignore' });
workbookReader.read();
workbookReader.on('worksheet', worksheet => {
worksheet.on('row', (row) => {...}
}
Above code will throw an error when the DD/MM/YYYY format date is given in the excel
e.g: 20/06/2020
The expected behaviour:
It should work fine with the given date
Possible solution :
Created a pull request to handle it: #1328
Other Inputs
Without styles:cache it works for DD-MM-YYYY format but treats it as string
Metadata
Metadata
Assignees
Labels
No labels