https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114965
--- Comment #12 from Paul Eggert <eggert at cs dot ucla.edu> --- Thanks for fixing GCC. I installed into Gnulib a patch that clarifies strftime's implementation, and this also works around the GCC bug. It'll take some time for this to propagate out, though, as Gnulib is a source code library and each package incorporates Gnulib code when it sees fit. The patch is here: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=4121ae7ad2859331447fe719d255e3d22953f327