https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101152
--- Comment #2 from Jordi Vilar <development at jordi dot vilar.cat> --- (In reply to Jonathan Wakely from comment #1) > 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. Yes, you are right, "including the century" doesn't imply four digits for dates before the 1000 A.D. Should I update the title accordingly?