comments: record the time at which each comment was posted
[ikiwiki.git] / IkiWiki / Plugin / comments.pm
index 4cd76c5d5934364c4ff60cd596e1d2c1ac5bf42a..58076938bdffdc337719d2aa986cc1373e4b9a16 100644 (file)
@@ -316,6 +316,7 @@ sub sessioncgi ($$) { #{{{
        $content_tmpl->param(body => $body);
        $content_tmpl->param(anchor => "$anchor");
        $content_tmpl->param(permalink => "$baseurl#$anchor");
+       $content_tmpl->param(date => formattime(time, "%X %x"));
 
        my $content = $content_tmpl->output;