mark up date so relativedate will work
authorJoey Hess <joey@kodama.kitenet.net>
Sun, 19 Oct 2008 19:17:00 +0000 (15:17 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sun, 19 Oct 2008 19:17:00 +0000 (15:17 -0400)
IkiWiki/Plugin/aggregate.pm

index c18784e8b8c64d143c06b469906beb2f329c087b..8ef5ca541ae108e3087b15027c1115d9403e57d4 100644 (file)
@@ -460,8 +460,10 @@ sub aggregate (@) { #{{{
        foreach my $feed (@_) {
                $feed->{lastupdate}=time;
                $feed->{newposts}=0;
-               $feed->{message}=sprintf(gettext("processed ok at %s"),
-                       displaytime($feed->{lastupdate}));
+               $feed->{message}=sprintf(gettext("last checked %s"),
+                       '<span class="date" title="'.
+                       localtime($feed->{lastupdate}).'">'.
+                       displaytime($feed->{lastupdate}).'</span>');
                $feed->{error}=0;
 
                debug(sprintf(gettext("checking feed %s ..."), $feed->{name}));