summaryrefslogtreecommitdiff
path: root/lib/ctime.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ctime.pl')
-rw-r--r--lib/ctime.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ctime.pl b/lib/ctime.pl
index 2d5ee65e36..14e122adda 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);
}