From c3f9ef82893f9c1eb4e16df6fb93bfc87b02c890 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 Feb 2012 22:27:55 -0400 Subject: revert change to prettydate Its strftime is from Date::Format, doesn't have the problem, and using the POSIX one breaks its %o. --- IkiWiki/Plugin/prettydate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IkiWiki/Plugin') 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 -- cgit v1.2.3