]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki.pm
(no commit message)
[git.ikiwiki.info.git] / IkiWiki.pm
index 0a788f35bd69411e4ee536903fd8acc7a8580452..2a83777e6574ec74e9ebb878f0964a88b0118639 100644 (file)
@@ -1156,7 +1156,7 @@ sub strftime_utf8 {
        # strftime doesn't know about encodings, so make sure
        # its output is properly treated as utf8.
        # Note that this does not handle utf-8 in the format string.
-       $strftime_encoding = POSIX::setlocale(&POSIX::LC_TIME) =~ m#\.([^@]+)#
+       ($strftime_encoding) = POSIX::setlocale(&POSIX::LC_TIME) =~ m#\.([^@]+)#
                unless defined $strftime_encoding;
        $strftime_encoding
                ? Encode::decode($strftime_encoding, POSIX::strftime(@_))