Skip to content

Fix "toAbsoluteLocaleDate" test when system locale is not en-US #33939

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 1 commit into from
Mar 19, 2025

Conversation

YaFou
Copy link
Contributor

@YaFou YaFou commented Mar 19, 2025

Fixes #33937

When the system locale is not en-US, the test toAbsoluteLocaleDate fails because it assumes the locale is en-US. This pull request sets the locale for the test.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 19, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Mar 19, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 19, 2025
@wxiaoguang wxiaoguang merged commit e25f860 into go-gitea:main Mar 19, 2025
26 checks passed
@GiteaBot GiteaBot added this to the 1.24.0 milestone Mar 19, 2025
@YaFou YaFou deleted the fix-toAbsoluteLocaleDate-test branch March 19, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/frontend type/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"toAbsoluteLocaleDate" test doesn't pass when system locale is not en-US
4 participants