#!/usr/bin/perl
package IkiWiki::Plugin::prettydate;
-use IkiWiki;
+use IkiWiki 2.00;
use warnings;
no warnings 'redefine';
use strict;
gettext("early %A morning"), # 7
"", # 8
"", # 9
- gettext("in mid-morning %A"), # 10
- gettext("in late morning %A"), # 11
+ gettext("mid-morning %A"), # 10
+ gettext("late %A morning"), # 11
gettext("at lunch time on %A"), # 12
"", # 1
gettext("%A afternoon"), # 2
}
sub import { #{{{
- hook(type => "checkconfig", id => "skeleton", call => \&checkconfig);
+ hook(type => "checkconfig", id => "prettydate", call => \&checkconfig);
} # }}}
sub checkconfig () { #{{{
}
} #}}}
-sub IkiWiki::displaytime ($) { #{{{
+sub IkiWiki::displaytime ($;$) { #{{{
my $time=shift;
eval q{use Date::Format};