From: pcanterino <> Date: Mon, 24 Jan 2005 16:04:26 +0000 (+0000) Subject: ARGH! X-Git-Tag: version_2_3_1~12 X-Git-Url: https://git.p6c8.net/devedit.git/commitdiff_plain/9229d49c57fb972c6058c98b94cfdb86feca2bd2?ds=inline ARGH! --- diff --git a/modules/Command.pm b/modules/Command.pm index 2d46cc8..4cea462 100644 --- a/modules/Command.pm +++ b/modules/Command.pm @@ -6,7 +6,7 @@ package Command; # Execute Dev-Editor's commands # # Author: Patrick Canterino -# Last modified: 2005-01-21 +# Last modified: 2005-01-24 # use strict; @@ -126,7 +126,7 @@ sub exec_show($$) $udtpl->read_file($config->{'templates'}->{'dirlist_up'}); $udtpl->fillin('UPPER_DIR',$upper_path); - $udtpl->fillin('DATE',encode_entities(strftime($config->{'timeformat'},localtime($stat[9])))); + $udtpl->fillin('DATE',encode_entities(strftime($config->{'timeformat'},($config->{'use_gmt'}) ? gmtime($stat[9]) : localtime($stat[9])))); $dirlist .= $udtpl->get_template; }