https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86967
Bug ID: 86967 Summary: time_get fails to parse abbreviated weekday with %A format string Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: mark.melton at notlem dot com Target Milestone: --- Created attachment 44546 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44546&action=edit Small test case showing the bug. The std::time_get::get(...) function fails to parse an abbreviated weekday name when using the "%A" format specifier. It works corrected for the "%a" format specifier where the two specifiers are simply synonyms of one another. Using both "%A" and "%a", the function successfully parses the unabbreviated weekday name. See the attached short test case. I have tested under both 8.2.0 and 7.3.0. cheers, mark