]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/prettydate.pm
img: raise an error if we cannot find the image's size
[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;
 
        $format=~s/\%X/$t/g;
-       return strftime_utf8($format, \@t);
+       return strftime($format, \@t);
 }
 
 1
 }
 
 1