From 6806ddfdff5e17ec85683d38bad814a46ffa4efe Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 1 Sep 2014 08:56:46 +0100 Subject: Only provide time, not formatted_time, to edittemplate templates I'm not sure what the use-case is for formatted_time, and chrysn pointed out that for display in HTML, [[!date ""]] would be nicer. --- IkiWiki/Plugin/edittemplate.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/edittemplate.pm b/IkiWiki/Plugin/edittemplate.pm index c61f6336b..947c8f215 100644 --- a/IkiWiki/Plugin/edittemplate.pm +++ b/IkiWiki/Plugin/edittemplate.pm @@ -157,7 +157,6 @@ sub filltemplate ($$) { my $time = time(); $template->param(time => IkiWiki::formattime($time, "%Y-%m-%d %H:%M:%S")); - $template->param(formatted_time => IkiWiki::formattime($time)); return $template->output; } -- cgit v1.2.3