diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-11-23 17:43:06 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-11 21:14:04 +0000 |
commit | 24bfc3fdc52fd55703c6b618b768cfb0905456d3 (patch) | |
tree | 653febe37cc694a9f9dd2127205998bcdef93099 /IkiWiki | |
parent | e66e2c2a7e2fdf2d80c20e61854480342d3fa8b4 (diff) | |
download | ikiwiki-24bfc3fdc52fd55703c6b618b768cfb0905456d3.tar ikiwiki-24bfc3fdc52fd55703c6b618b768cfb0905456d3.tar.gz |
comments: record the time at which each comment was posted
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/comments.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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; |