summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/comments.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm
index d149e5982..45b13168a 100644
--- a/IkiWiki/Plugin/comments.pm
+++ b/IkiWiki/Plugin/comments.pm
@@ -315,7 +315,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"));
+ $content_tmpl->param(date => IkiWiki::formattime(time, "%X %x"));
my $content = $content_tmpl->output;