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

Tests failing for DMY locales #3346

Closed
StephanTLavavej opened this issue Jan 13, 2023 · 0 comments · Fixed by #4437
Closed

Tests failing for DMY locales #3346

StephanTLavavej opened this issue Jan 13, 2023 · 0 comments · Fixed by #4437
Labels
fixed Something works now, yay! test Related to test code

Comments

@StephanTLavavej
Copy link
Member

@rogerorr reported to me that some of the STL's tests are failing when Windows 11 is set to an English (United Kingdom) locale with dd/MM/yyyy short date format and dd MMMM yyyy long date format (and Monday as the first day of the week, although that is probably unrelated).

The failing tests were:

  • libcxx std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/date_order.pass.cpp
    • Line 33 says assert(f.date_order() == std::time_base::mdy) so failure is unsurprising.
  • tr1/tests/locale3 is seeing the day and month being swapped:
  • tr1/tests/locale4 has the same problem:
@StephanTLavavej StephanTLavavej added the test Related to test code label Jan 13, 2023
@StephanTLavavej StephanTLavavej added the fixed Something works now, yay! label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Something works now, yay! test Related to test code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant