aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-02-02 22:27:55 -0400
committerJoey Hess <joey@kitenet.net>2012-02-02 22:27:55 -0400
commitc3f9ef82893f9c1eb4e16df6fb93bfc87b02c890 (patch)
tree00fe1181591848a807cc0029e743418ea4c796e4 /IkiWiki
parentbe1cf943a6995e744da0359ec5ad49b7260b690d (diff)
downloadikiwiki-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')
-rw-r--r--IkiWiki/Plugin/prettydate.pm4
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