]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Fix --locale to control LC_ALL now.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 10 Jan 2007 20:25:00 +0000 (20:25 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 10 Jan 2007 20:25:00 +0000 (20:25 +0000)
IkiWiki.pm
IkiWiki/Plugin/inline.pm
debian/changelog
doc/bugs/Discussion_link_not_translated_after_page_update.mdwn

index 5b78014d110982c688c564fa969dff3bbddc0c66..41276e118bafbf96064f4286562021d3c7640e60 100644 (file)
@@ -82,7 +82,7 @@ sub checkconfig () { #{{{
                eval q{use POSIX};
                error($@) if $@;
                $ENV{LANG} = $config{locale}
-                       if POSIX::setlocale(&POSIX::LC_TIME, $config{locale});
+                       if POSIX::setlocale(&POSIX::LC_ALL, $config{locale});
        }
 
        if ($config{w3mmode}) {
index ecae47f1afb63f1ad3d41b2556bd7cf2adae355b..5857636de715be28d496390d87271494039f4646 100644 (file)
@@ -238,7 +238,7 @@ sub date_822 ($) { #{{{
 
        eval q{use POSIX};
        error($@) if $@;
-       my $lc_time= POSIX::setlocale(&POSIX::LC_TIME);
+       my $lc_time=POSIX::setlocale(&POSIX::LC_TIME);
        POSIX::setlocale(&POSIX::LC_TIME, "C");
        my $ret=POSIX::strftime("%a, %d %b %Y %H:%M:%S %z", localtime($time));
        POSIX::setlocale(&POSIX::LC_TIME, $lc_time);
@@ -250,7 +250,7 @@ sub date_3339 ($) { #{{{
 
        eval q{use POSIX};
        error($@) if $@;
-       my $lc_time= POSIX::setlocale(&POSIX::LC_TIME);
+       my $lc_time=POSIX::setlocale(&POSIX::LC_TIME);
        POSIX::setlocale(&POSIX::LC_TIME, "C");
        my $ret=POSIX::strftime("%Y-%m-%dT%H:%M:%SZ", localtime($time));
        POSIX::setlocale(&POSIX::LC_TIME, $lc_time);
index 5e75dcbbebb0dc6d89b9ac5c1054f485e710c00a..74bd84225c8c9be1db16ea76c50d71d10208d5a2 100644 (file)
@@ -1,8 +1,9 @@
 ikiwiki (1.39) UNRELEASED; urgency=low
 
   * Add a rawhtml plugin that allows copying raw html files from the srcdir.
+  * Fix --locale to control LC_ALL now.
 
- -- Joey Hess <joeyh@debian.org>  Mon,  8 Jan 2007 15:53:25 -0500
+ -- Joey Hess <joeyh@debian.org>  Wed, 10 Jan 2007 15:24:36 -0500
 
 ikiwiki (1.38) unstable; urgency=low
 
index 698dd9f69524b9ac0d7a1065932e0f3c433a5106..a59eb9ab502b611f5ba1b3d7ea6dcad2b2b3ee36 100644 (file)
@@ -22,3 +22,4 @@ with him Spanish translation.
 >> "Discussion" link instead of "Dyskusja" link after any page update
 >> via WWW. --Pawel
 
+>>> A setlocale issue. Now [[bugs/done]] --[[Joey]]