2 package IkiWiki::Plugin::date;
9 hook(type => "getsetup", id => "meta", call => \&getsetup);
10 hook(type => "preprocess", id => "meta", call => \&preprocess);
24 eval q{use Date::Parse};
26 my $time = str2time($str);
27 if (! defined $time) {
28 error("unable to parse $str");
30 return displaytime($time);