]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/prettydate.pm
po: implemented linking/backlinks specification for po_link_to=negotiated
[git.ikiwiki.info.git] / IkiWiki / Plugin / prettydate.pm
index db5a94f413b567de7c73f2cb93ac90e1d9697461..0f02142b06812cb7bb11bc0b5a98cde3e13f8526 100644 (file)
@@ -46,10 +46,15 @@ sub import { #{{{
 
 sub getsetup () { #{{{
        return
 
 sub getsetup () { #{{{
        return
+               plugin => {
+                       safe => 1,
+                       rebuild => 1,
+               },
                prettydateformat => {
                        type => "string",
                        example => '%X, %B %o, %Y',
                        description => "format to use to display date",
                prettydateformat => {
                        type => "string",
                        example => '%X, %B %o, %Y',
                        description => "format to use to display date",
+                       advanced => 1,
                        safe => 1,
                        rebuild => 1,
                },
                        safe => 1,
                        rebuild => 1,
                },
@@ -79,7 +84,7 @@ sub checkconfig () { #{{{
        }
 } #}}}
 
        }
 } #}}}
 
-sub IkiWiki::displaytime ($;$) { #{{{
+sub IkiWiki::formattime ($;$) { #{{{
        my $time=shift;
        my $format=shift;
        if (! defined $format) {
        my $time=shift;
        my $format=shift;
        if (! defined $format) {