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

String.format issues when JVM uses other non English Locales #36

Open
vjrj opened this issue Mar 30, 2022 · 0 comments
Open

String.format issues when JVM uses other non English Locales #36

vjrj opened this issue Mar 30, 2022 · 0 comments

Comments

@vjrj
Copy link
Contributor

vjrj commented Mar 30, 2022

In VMs or develop environments with a different Locale than English the testConservationSpecies fails with:

org.junit.ComparisonFailure: Latitude 
Expected :-35.3
Actual   :-35,3

This is caused for the use of String.format without specifying a Locale, so it's use the JVM locale. Similar issue:
AtlasOfLivingAustralia/biocache-service#417

vjrj added a commit to vjrj/sds that referenced this issue Mar 30, 2022
@vjrj vjrj mentioned this issue Mar 30, 2022
nickdos added a commit that referenced this issue Jul 10, 2024
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