diff options
author | Joey Hess <joey@kitenet.net> | 2012-02-02 22:27:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-02-02 22:27:55 -0400 |
commit | c3f9ef82893f9c1eb4e16df6fb93bfc87b02c890 (patch) | |
tree | 00fe1181591848a807cc0029e743418ea4c796e4 /IkiWiki/Plugin | |
parent | be1cf943a6995e744da0359ec5ad49b7260b690d (diff) | |
download | ikiwiki-c3f9ef82893f9c1eb4e16df6fb93bfc87b02c890.tar ikiwiki-c3f9ef82893f9c1eb4e16df6fb93bfc87b02c890.tar.gz |
revert change to prettydate
Its strftime is from Date::Format, doesn't have the problem, and using the
POSIX one breaks its %o.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/prettydate.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/prettydate.pm b/IkiWiki/Plugin/prettydate.pm index b0931cb55..82d8a3df3 100644 --- a/IkiWiki/Plugin/prettydate.pm +++ b/IkiWiki/Plugin/prettydate.pm @@ -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 |