All symmetrical minutes (was Re: [plug] symetrical time)

Ryan ryan at slowest.net
Wed Feb 20 17:21:37 WST 2002


Ryan's half-arsed 'Y10K' bug fix for those capable of mentally applying
unified format source patches:

<snip>
--- time_year_gen.pl  Wed Feb 20 17:09:23 2002
+++ time_year_gen2.pl Wed Feb 20 17:10:38 2002
@@ -30,5 +30,5 @@
        {
                $rmonth =~ s/(\d\d)(\d\d)/$1\/$2/;
-               print "$rtime\t$rmonth\t$ryear\n";
+               print "$rtime\t$rmonth\t$ryear\n" if length($ryear) < 5;
        }
 }
</snip>

Ryan



More information about the plug mailing list