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

Excel can store dates in exponent form which causes dates to incorrectly parse to year 1900 #583

Open
synth opened this issue Feb 9, 2023 · 0 comments

Comments

@synth
Copy link

synth commented Feb 9, 2023

Issue

We are parsing a customer's sheet that is returning some dates in an exponential form. Eg, "4.49e4" whereas successful date parses have the form "44221.0". When a date value is returned in this exponential form, the date is parsed to a date with year 1900.

Is this expected and is this something that Roo should account for? Or is this something that should be handled at the application layer.

Steps to reproduce

I don't have a concrete way to reproduce this yet, but I can work on this following some discussion if its warranted.

System configuration

Roo version:
Tested in Roo 2.6.0 and 2.10.0

Ruby version:
2.7.5

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