My Y2020 Bug
For reasons that must have been clear at the time, I once wrote a test in terms of epoch time, and wanted it to run on systems that did not use January 1 1970 as the epoch. So I loaded Time::Local and added
timegm( 0, 0, 0, 1, 0, 70 ) to the desired epoch.
This morning I got a CPAN testers report failure. It seems that if you give
timegm() a year in the range
0-99 it assumes it is within 50 years of the current year, so my test suddenly …