]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/comments.pm
Add parameter to displaytime to specify that it is a pubdate, and in html5 mode,...
[ikiwiki.git] / IkiWiki / Plugin / comments.pm
index f7dc99dcacd32decee2dd5845d139868758603bc..02f1d93011f0f3afda8ede7b4c67ddd047b5f438 100644 (file)
@@ -672,7 +672,7 @@ sub previewcomment ($$$) {
 
        my $template = template("comment.tmpl");
        $template->param(content => $preview);
-       $template->param(ctime => displaytime($time));
+       $template->param(ctime => displaytime($time, undef, 1));
 
        IkiWiki::run_hooks(pagetemplate => sub {
                shift->(page => $location,