Commit Graph

3 Commits (650ba28851f68f30fec1cb0caecfe06cc4f13785)

Author SHA1 Message Date
Joey Hess a78126c55e 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.
2012-01-30 15:09:37 -04:00
spalax b0d6eef321 Clearer (I hope) bug report 2012-01-28 15:13:43 -04:00
spalax cac88b738b New bug: encoding problem in calendar plugin 2012-01-28 15:09:31 -04:00