]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/prettydate.pm
nicer layout of subject
[git.ikiwiki.info.git] / IkiWiki / Plugin / prettydate.pm
index b0931cb5533b36bcab5cbb3afa514ef75c51f132..82d8a3df3eeef1c0b4a45c532774637a2a3e5209 100644 (file)
@@ -118,10 +118,10 @@ sub IkiWiki::formattime ($;$) {
                }
        }
 
-       $t=~s{\%A-}{my @yest=@t; $yest[6]--; strftime_utf8("%A", \@yest)}eg;
+       $t=~s{\%A-}{my @yest=@t; $yest[6]--; strftime("%A", \@yest)}eg;
 
        $format=~s/\%X/$t/g;
-       return strftime_utf8($format, \@t);
+       return strftime($format, \@t);
 }
 
 1