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

Wrong Locale used when rawData is true #223

Merged
merged 1 commit into from
Dec 12, 2021
Merged

Wrong Locale used when rawData is true #223

merged 1 commit into from
Dec 12, 2021

Conversation

beckerdennis
Copy link
Contributor

Normally, poiji uses the provided Locale from PoijiOptions. But when rawData is true, the Locale used for parsing must be US (since Excel saves the values formatted in Locale.US)

Normally, poiji uses the provided Locale from PoijiOptions. But when rawData is true, the Locale used for parsing must be US
@ozlerhakan
Copy link
Owner

ozlerhakan commented Dec 7, 2021

Thanks @beckerdennis , now I get the point. This will be in the next release at the weekend :)

@beckerdennis
Copy link
Contributor Author

beckerdennis commented Dec 7, 2021

Hi @ozlerhakan and thank you for your fast responses!
If you run the test I provided without the changes in PoijiOptions, you will see the problem (for example, 0.351 would be parsed as 351)
EDIT: at least, if the JVM runs with the german Locale as default)

@ozlerhakan ozlerhakan merged commit c1ed625 into ozlerhakan:master Dec 12, 2021
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.

2 participants