]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/tla.pm
* prettydate,ddate: Don't ignore time formats passed to displaytime
[ikiwiki.git] / IkiWiki / Rcs / tla.pm
index 5275500c395b5031bfbf627e5d31531abff41a8e..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}/) {
@@ -146,7 +146,7 @@ sub rcs_recentchanges ($) {
                        } if length $file;
                }
                push @ret, {
-                       id => $change,
+                       rev => $change,
                        user => $user,
                        committype => $committype,
                        when => $when,