[Bug libstdc++/121929] std::format prints a valid-looking date for invalid 2020y/January/Friday[10]

tkaminsk at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 22 13:41:35 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121929

--- Comment #1 from Tomasz Kamiński <tkaminsk at gcc dot gnu.org> ---
weekday_index constructed out of Friday[10] has unspecified value, but index
value in range [0, 7] are supported.


More information about the Gcc-bugs mailing list