Skip to content

Use locale agnostic clojure.string/lower-case #59

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

Merged
merged 4 commits into from
Aug 13, 2019

Conversation

walterl
Copy link
Contributor

@walterl walterl commented Aug 9, 2019

Without this change clojure.string/lower-case uses the default locale,
turning (for example) "ID" into ":ıd" in the Turkish locale.

@camsaul

Without this change `clojure.string/lower-case` uses the default locale,
turning (for example) "ID" into ":ıd" in the Turkish locale.
Copy link
Member

@camsaul camsaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add at least one test for this that checks that a query with an INNER JOIN or the like will work correctly when the user locale is Turkish? You can copy the pattern in the do-with-us-locale fn in https://github.com/metabase/metabase to temporarily switch the locale

@camsaul camsaul merged commit cd23ceb into metabase:master Aug 13, 2019
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