I'm encountering an issue while parsing an Excel file using ExcelJS in a Node.js environment. The Excel file contains cells representing dates, but it seems that some of these cells are being treated as strings, while others are correctly converted to actual date objects. Despite trying various approaches, I haven't been able to resolve this issue.
I desire to ensure that all cells in the Excel file have a unique type (either text or date) so that I can parse them accurately. While I acknowledge that checking the type is a viable solution, I am reluctant to accept it as the sole approach.
Question / Help
I'm encountering an issue while parsing an Excel file using ExcelJS in a Node.js environment. The Excel file contains cells representing dates, but it seems that some of these cells are being treated as strings, while others are correctly converted to actual date objects. Despite trying various approaches, I haven't been able to resolve this issue.
Lib version: 4.4.0
Steps To Reproduce
The expected behaviour:
I desire to ensure that all cells in the Excel file have a unique type (either text or date) so that I can parse them accurately. While I acknowledge that checking the type is a viable solution, I am reluctant to accept it as the sole approach.
Possible solution (optional, but very helpful):
Maybe checking the type ?