From 4da228c21e9526b55a5644968a9f809b9cfb33e7 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 12 Dec 2002 16:13:20 +0000 Subject: [PATCH] Fix formatting of the year. --- vfs/extfs/patchfs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vfs/extfs/patchfs.in b/vfs/extfs/patchfs.in index d9fabea90..8aac4fb70 100644 --- a/vfs/extfs/patchfs.in +++ b/vfs/extfs/patchfs.in @@ -20,7 +20,7 @@ sub timef { # format unix time my @time=localtime($_[0]); - return sprintf "%02d-%02d-%02d %02d:%02d", $time[4]+1, $time[3], + return sprintf "%02d-%02d-%d %02d:%02d", $time[4]+1, $time[3], $time[5] + 1900, $time[2], $time[1]; }