You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[R][C++] datetime locale support on Windows MINGW / R #31777
In #12536 I found that locales other than "C" and "POSIX" didn't seem to be supported in the RTools environment (a MSYS2 fork). I saw some indications this might apply to any MINGW toolchain (https://stackoverflow.com/a/4497266/2048858), but nothing very recent or definitive.
This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.
Activity
asfimport commentedon May 3, 2022
Dewey Dunnington / @paleolimbot:
I know there's some of this in the PR, but what is the piece of R or C or C++ code that doesn't work that should?
asfimport commentedon May 3, 2022
Will Jones / @wjones127:
Good question. IIRC, this will error in C++:
It looks like it may be possible get support for other locales, based on the documentation here:
https://github.com/msys2/msys2-runtime/blob/c0250d576e39d603248d10e7bb2f396c9bc6a56c/newlib/libc/locale/locale.c#L29-L41
github-actions commentedon Mar 30, 2026
This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.