]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/relativedate.pm
disable warnings when redefining functions
[git.ikiwiki.info.git] / IkiWiki / Plugin / relativedate.pm
index d9d8f7776c18ace866eaef44a690844b5793b556..f4dba61a4e8e1511dff8cd9053c1c514e321be92 100644 (file)
@@ -53,7 +53,7 @@ sub display ($;$) { #{{{
        my $gmtime=decode_utf8(POSIX::strftime("%a, %d %b %Y %H:%M:%S %z",
                        localtime($time)));
 
        my $gmtime=decode_utf8(POSIX::strftime("%a, %d %b %Y %H:%M:%S %z",
                        localtime($time)));
 
-       return '<span class="date" title="'.$gmtime.'">'.
+       return '<span class="relativedate" title="'.$gmtime.'">'.
                IkiWiki::formattime($time, $format).'</span>';
 } #}}}
 
                IkiWiki::formattime($time, $format).'</span>';
 } #}}}