From ebac5236869862d7f7e776402212f6b9731b326a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 14 Nov 2007 08:51:38 -0500 Subject: prottype fixes --- IkiWiki/Plugin/ddate.pm | 2 +- IkiWiki/Plugin/prettydate.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/ddate.pm b/IkiWiki/Plugin/ddate.pm index f4921fdfd..7382d4160 100644 --- a/IkiWiki/Plugin/ddate.pm +++ b/IkiWiki/Plugin/ddate.pm @@ -16,7 +16,7 @@ sub checkconfig () { #{{{ } } #}}} -sub IkiWiki::displaytime ($) { #{{{ +sub IkiWiki::displaytime ($;$) { #{{{ my $time=shift; eval q{ use DateTime; diff --git a/IkiWiki/Plugin/prettydate.pm b/IkiWiki/Plugin/prettydate.pm index 18ddb9403..b31d30cd0 100644 --- a/IkiWiki/Plugin/prettydate.pm +++ b/IkiWiki/Plugin/prettydate.pm @@ -61,7 +61,7 @@ sub checkconfig () { #{{{ } } #}}} -sub IkiWiki::displaytime ($) { #{{{ +sub IkiWiki::displaytime ($;$) { #{{{ my $time=shift; eval q{use Date::Format}; -- cgit v1.2.3