https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71367
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Together with the previous PR78714 r12-5898-gc82e492616e343b6d6db218d2b498267bac899de commit I think this is partially fixed now, it will work fine if %I comes before %p, whether in user's format or from %r, but it doesn't work right now if %p comes before %I e.g. as in cmn_TW, en_HK, hak_TW, ja_JP, ko_KR, nan_TW, si_LK, ta_IN, te_IN, yue_HK, zh_CN, zh_HK and zh_TW glibc locales. For those we need some state and post-processing, mentioned as todo list in the r12-5898 commit message.