X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/eb87dd177ae5ad2838c9bb9acb5e1e40d9cc5f28..d4b116d3bf1c0b070b971f553c97c213ef19cd4f:/IkiWiki/Plugin/edittemplate.pm diff --git a/IkiWiki/Plugin/edittemplate.pm b/IkiWiki/Plugin/edittemplate.pm index 571accf1f..947c8f215 100644 --- a/IkiWiki/Plugin/edittemplate.pm +++ b/IkiWiki/Plugin/edittemplate.pm @@ -155,6 +155,9 @@ sub filltemplate ($$) { $template->param(uuid => $uuid); } + my $time = time(); + $template->param(time => IkiWiki::formattime($time, "%Y-%m-%d %H:%M:%S")); + return $template->output; }