]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/prettydate.pm
forgot to add
[git.ikiwiki.info.git] / IkiWiki / Plugin / prettydate.pm
index 11bd69d3f58bd2c06435af6a1de6bd25a377ea5b..b31d30cd0643617518eede56ce0fcf16f357c69f 100644 (file)
@@ -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};