diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-02 00:32:12 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-02 00:32:12 +0000 |
commit | 25b35c3c7403202aae19c4a328f6af4d2aae2e68 (patch) | |
tree | d0a70746c1e9b6bca4bc5c3fff2921eb722e569e /IkiWiki/Render.pm | |
parent | 8966b8504c3cedb11ca961c7722af23f0044a89c (diff) | |
download | ikiwiki-25b35c3c7403202aae19c4a328f6af4d2aae2e68.tar ikiwiki-25b35c3c7403202aae19c4a328f6af4d2aae2e68.tar.gz |
* Honor LC_CTIME when formatting a time for display. Thanks, Faidon
Liambotis.
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index d4e498188..22fba3a2f 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -230,7 +230,7 @@ sub check_overwrite ($$) { #{{{ sub displaytime ($) { #{{{ my $time=shift; - if ($config{timeformat} eq '%c') { + if ($config{timeformat} eq '%c' && ! exists $ENV{LC_CTIME}) { return scalar(localtime($time)); # optimisation } else { |