diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-10 20:25:00 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-10 20:25:00 +0000 |
commit | b31dc8d994d1cfd179c330a729dcb8bce0b293c2 (patch) | |
tree | b95ae9cbd8c577f4fa7456035275a1f190fe736a /IkiWiki | |
parent | a1519df7dd7b3619485171230d1a9f167b8e1fae (diff) | |
download | ikiwiki-b31dc8d994d1cfd179c330a729dcb8bce0b293c2.tar ikiwiki-b31dc8d994d1cfd179c330a729dcb8bce0b293c2.tar.gz |
* Fix --locale to control LC_ALL now.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index ecae47f1a..5857636de 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -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); |