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

XLSX configure to read cell dates as js date obj #1481

Merged
merged 7 commits into from
Sep 24, 2022

Conversation

barakplasma
Copy link
Contributor

@barakplasma barakplasma commented Jul 4, 2022

Allows users to configure XLSX library to convert cell dates to JS dates
Relates/resolves this issue comment: #395 (comment)

There's a list of options here: https://www.npmjs.com/package/xlsx#parsing-options

@barakplasma barakplasma changed the title feat: add ability to configure XLSX options from alasql feat: add ability to configure XLSX options from alasq to convert cell dates to js dates when parsing xlsx Jul 10, 2022
@barakplasma
Copy link
Contributor Author

@mathiasrw @SamanthaAdrichem anything I need to do to move this PR along? It's passing GH Actions on my fork https://github.com/barakplasma/alasql/actions/runs/2609997786

@SamanthaAdrichem
Copy link
Contributor

I'm not a repository owner, nothing I can do about it :(

I would how-ever verify (if I was you) what happens if XLSXopts is undefined / not set.

@barakplasma
Copy link
Contributor Author

@mathiasrw anything I can do to help get this moving?

@barakplasma
Copy link
Contributor Author

BTW, I'm running this patch in our prod using patch-package and it's working nicely.

@mathiasrw
Copy link
Member

Thank you!

@mathiasrw mathiasrw changed the title feat: add ability to configure XLSX options from alasq to convert cell dates to js dates when parsing xlsx XLSX configure to read cell dates as js date obj Sep 24, 2022
@mathiasrw mathiasrw merged commit be2cc57 into AlaSQL:develop Sep 24, 2022
@barakplasma barakplasma deleted the xlsx-options branch September 26, 2022 22:12
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

Successfully merging this pull request may close these issues.

3 participants