X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2fde507afb606479ef6efe73a2e220787970f3ec..3898a75388b7d3c576885af47f4552ed20103433:/IkiWiki/Plugin/prettydate.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/prettydate.pm b/IkiWiki/Plugin/prettydate.pm index 11bd69d3f..b31d30cd0 100644 --- a/IkiWiki/Plugin/prettydate.pm +++ b/IkiWiki/Plugin/prettydate.pm @@ -1,6 +1,6 @@ #!/usr/bin/perl package IkiWiki::Plugin::prettydate; -use IkiWiki; +use IkiWiki 2.00; use warnings; no warnings 'redefine'; use strict; @@ -22,7 +22,7 @@ sub default_timetable { gettext("early %A morning"), # 7 "", # 8 "", # 9 - gettext("in mid-morning %A"), # 10 + gettext("mid-morning %A"), # 10 gettext("late %A morning"), # 11 gettext("at lunch time on %A"), # 12 "", # 1 @@ -61,7 +61,7 @@ sub checkconfig () { #{{{ } } #}}} -sub IkiWiki::displaytime ($) { #{{{ +sub IkiWiki::displaytime ($;$) { #{{{ my $time=shift; eval q{use Date::Format};