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

Forcibly sets "en-US" locale. #33291

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Forcibly sets "en-US" locale. #33291

merged 1 commit into from
Mar 12, 2024

Conversation

cincuranet
Copy link
Contributor

@cincuranet cincuranet commented Mar 11, 2024

  • English locale is needed for comparisons, string to number parsing, etc. operations to succeed.
  • It does not deal with locale on the database side, which might result in i.e. different sorting and hence tests failing.

Only these 4 projects need it (at the moment). I don't think it's worth adding it into all...

This fixes the handful of failures for me on non-English locale.

Note: It needs to be linked file, because it is using ModuleInitializer.

See also: #14912, #22901

@cincuranet cincuranet requested a review from a team March 11, 2024 21:37
* English locale is needed for comparisons, string to number parsing, etc. operations to succeed.
* It does not deal with locale on the database side, which might result in i.e. different sorting and hence tests failing.
@cincuranet cincuranet requested review from a team and AndriySvyryd March 11, 2024 23:51
@cincuranet cincuranet merged commit 98c33c7 into dotnet:main Mar 12, 2024
7 checks passed
@cincuranet cincuranet deleted the fix-local-locale branch March 12, 2024 15:50
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