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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-12-07

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think the bug is that it treats 03 as 1903 instead of 0003. It is not
supposed to print "N/A" though.

%Y doesn't require exactly 4 digits, it allows 1-4 and interprets the value
read as the year (rather than interpreting it as a year between 1969 and 2068
like %y). So if it reads "20" that isn't an error, it means the year 20 A.D.

Reply via email to