]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/edittemplate.pm
Add modified opengraph plugin.
[git.ikiwiki.info.git] / IkiWiki / Plugin / edittemplate.pm
index c61f6336be59abb88243a4ae0059fd872a46109f..c2a8da29f853ec5f13e8fab959773751cc86ada9 100644 (file)
@@ -156,8 +156,7 @@ sub filltemplate ($$) {
        }
 
        my $time = time();
-       $template->param(time => IkiWiki::formattime($time, "%Y-%m-%d %H:%M:%S"));
-       $template->param(formatted_time => IkiWiki::formattime($time));
+       $template->param(time => IkiWiki::date_3339($time));
 
        return $template->output;
 }