diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-13 16:14:48 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-13 16:14:48 -0500 |
commit | 264a82a435b9ce5560f4bbea7b53270c53ef5720 (patch) | |
tree | 3f48689d2bed7cfbd9e198ecf10a1c7788f70ed1 /IkiWiki/Plugin | |
parent | 426d94b5007b3792a72ba4394e41b12e874d8203 (diff) |
* inline: Add timeformat parameter to control how the ctime of
inlined pages is displayed. Closes: #451019
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index bb160ac4d..ebeb23178 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -221,7 +221,7 @@ sub preprocess_inline (@) { #{{{ } $template->param(pageurl => urlto(bestlink($params{page}, $page), $params{destpage})); $template->param(title => pagetitle(basename($page))); - $template->param(ctime => displaytime($pagectime{$page})); + $template->param(ctime => displaytime($pagectime{$page}, $params{timeformat})); if ($actions) { my $file = $pagesources{$page}; |