From 24bfc3fdc52fd55703c6b618b768cfb0905456d3 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 23 Nov 2008 17:43:06 +0000 Subject: comments: record the time at which each comment was posted --- IkiWiki/Plugin/comments.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'IkiWiki/Plugin/comments.pm') diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 4cd76c5d5..58076938b 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -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; -- cgit v1.2.3