]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/tla.pm
change rcs_recentchanges when to absolute, not relative, time
[ikiwiki.git] / IkiWiki / Rcs / tla.pm
index 1dbc006c11f5372eb566e639a9fd3f3f52706246..15824ffaf71a6e465da23375c699323b819bf58a 100644 (file)
@@ -120,7 +120,7 @@ sub rcs_recentchanges ($) {
                        split(/ /, "$newfiles $modfiles .arch-ids/fake.id");
 
                my $sdate = $head->get("Standard-date");
-               my $when = time - str2time($sdate, 'UTC');
+               my $when = str2time($sdate, 'UTC');
 
                my $committype = "web";
                if (defined $summ && $summ =~ /$config{web_commit_regexp}/) {
@@ -145,7 +145,8 @@ sub rcs_recentchanges ($) {
                                diffurl => $diffurl,
                        } if length $file;
                }
-               push @ret, { rev => $change,
+               push @ret, {
+                       rev => $change,
                        user => $user,
                        committype => $committype,
                        when => $when,