https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103612
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, the above is GCC 12 behavior, in 11.x and earlier it has been indeed broken and %y and %C were aliases to %Y.
jakub at gcc dot gnu.org via Gcc-bugs Sun, 01 May 2022 22:53:20 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103612
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, the above is GCC 12 behavior, in 11.x and earlier it has been indeed broken and %y and %C were aliases to %Y.