[Bug libstdc++/95624] std::put_time() and std::strftime() don't recognize %e

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 10 13:24:33 GMT 2020


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |86976
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-06-10
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
strftime is nothing to do with GCC, that comes from MinGW and/or the Windows
CRT.

The std::put_time function uses std::time_put which doesn't implement any of
the new conversion specifiers added in C99, including %e.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86976
[Bug 86976] [meta-bug] Issues with std::time_get, std::time_put etc.


More information about the Gcc-bugs mailing list