From 9229d49c57fb972c6058c98b94cfdb86feca2bd2 Mon Sep 17 00:00:00 2001 From: pcanterino <> Date: Mon, 24 Jan 2005 16:04:26 +0000 Subject: [PATCH] ARGH! --- modules/Command.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.34.1