Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add date parsing when reading Excel file #15

Open
rbenavides00 opened this issue Nov 23, 2022 · 0 comments
Open

Suggestion: Add date parsing when reading Excel file #15

rbenavides00 opened this issue Nov 23, 2022 · 0 comments

Comments

@rbenavides00
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant