X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fctime.pl;h=14e122adda0bdab0a009aaf8acc6ac456e8846c0;hb=2724d5068a405436d3f2cd00aeb8f7b460b24fec;hp=2d5ee65e3691c034b4db4686e639ddfe93a292be;hpb=79072805bf63abe5b5978b5928ab00d360ea3e7f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/ctime.pl b/lib/ctime.pl index 2d5ee65..14e122a 100644 --- a/lib/ctime.pl +++ b/lib/ctime.pl @@ -44,7 +44,7 @@ sub ctime { } $TZ .= ' ' unless $TZ eq ''; - $year += ($year < 70) ? 2000 : 1900; + $year += 1900; sprintf("%s %s %2d %2d:%02d:%02d %s%4d\n", $DoW[$wday], $MoY[$mon], $mday, $hour, $min, $sec, $TZ, $year); }