https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117135
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- It does seem to have the info in the _nl_item_t array: _NLITEM (time, wera_d_t_fmt), But there's no case for _NL_WD_T_FMT in the switch statement in nl_langinfo_l newlib doesn't even seem to define the glibc extension _NL_WD_T_FMT, only _NL_TIME_WD_T_FMT, so I'm not sure how the code in libstdc++-v3/config/locale/gnu/time_members.cc even compiles ... unless _GLIBCXX_USE_WCHAR_T is undefined, but then the 22_locale/time_get/get/wchar_t/5.cc test should be skipped because wchar_t support is disabled.