summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 085953a17..d369d7da8 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -61,7 +61,7 @@ sub checkconfig () { #{{{
if (defined $config{locale}) {
eval q{use POSIX};
$ENV{LANG} = $config{locale}
- if POSIX::setlocale(&POSIX::LANG, $config{locale});
+ if POSIX::setlocale(&POSIX::LC_TIME, $config{locale});
}
if ($config{w3mmode}) {