diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-30 15:08:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-30 15:09:37 -0400 |
commit | a78126c55ecbe014ab2a214f324b32762e6a268d (patch) | |
tree | b8f128ff730f79d9573a867f8af880e0230f0903 /debian | |
parent | 0ba0d0982455297446ed777aa89d1fbf8989d2ae (diff) | |
download | ikiwiki-a78126c55ecbe014ab2a214f324b32762e6a268d.tar ikiwiki-a78126c55ecbe014ab2a214f324b32762e6a268d.tar.gz |
calendar, prettydate: Fix strftime encoding bug
strftime is a C function, it does not return decoded utf8.
Several places in ikiwiki manually decoded it, but at least two
forgot to.
Also, strftime might not return even encoded utf8, if LC_TIME is set
to a non-utf8 value. Went ahead and supported decoding whatever encoding
it uses.
The remaining direct calls to strftime() are all ones that first set
LC_TIME=C, in order to get times that are not for human display.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 1765142a4..57fe7861c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ ikiwiki (3.20120116) UNRELEASED; urgency=low * Switch to YAML::XS to work around insanity in YAML::Mo. Closes: #657533 * cvs: Ensure non-text files are added in binary mode. (Amitai Schlair) * cvs: Various cleanups and testing. (Amitai Schlair) + * calendar, prettydate: Fix strftime encoding bug. -- Joey Hess <joeyh@debian.org> Mon, 16 Jan 2012 13:41:14 -0400 |