libc++ put_time
outputs in wrong language on OpenBSD 7.4
#71871
Labels
invalid
Resolved as invalid, i.e. not a bug
libc++
libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
platform:openbsd
On OpenBSD 7.4 (newest) on x86_64 with its default / built-in clang:
This reduced C++ case:
When run on a Tuesday, gives "Tue". It should be outputting "mar", for Spanish "martes" (meaning Tuesday). That's what I get with macOS and FreeBSD.
Giving the output in the wrong language looks like a bug. It should either respect the locale or give an error (https://godbolt.org/z/KoW8YPqfc) when constructing an unsupported locale.
I don't know if this is a libc++ bug or an OpenBSD bug...
The text was updated successfully, but these errors were encountered: