]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/ddate.pm
I've wrote a little patch for the bug in teximg (can only include fomula on
[git.ikiwiki.info.git] / IkiWiki / Plugin / ddate.pm
index f4921fdfd70bc04ccf87bc0b5650c80d13d9c6f6..6b67f420232adcc835800c5b4729a47a5a7eb1a6 100644 (file)
@@ -6,7 +6,7 @@ use IkiWiki 2.00;
 no warnings;
 
 sub import { #{{{
 no warnings;
 
 sub import { #{{{
-       hook(type => "checkconfig", id => "skeleton", call => \&checkconfig);
+       hook(type => "checkconfig", id => "ddate", call => \&checkconfig);
 } # }}}
 
 sub checkconfig () { #{{{
 } # }}}
 
 sub checkconfig () { #{{{
@@ -16,7 +16,7 @@ sub checkconfig () { #{{{
        }
 } #}}}
 
        }
 } #}}}
 
-sub IkiWiki::displaytime ($) { #{{{
+sub IkiWiki::displaytime ($;$) { #{{{
        my $time=shift;
        eval q{
                use DateTime;
        my $time=shift;
        eval q{
                use DateTime;