]> git.p6c8.net - devedit.git/commitdiff
ARGH!
authorpcanterino <>
Mon, 24 Jan 2005 16:04:26 +0000 (16:04 +0000)
committerpcanterino <>
Mon, 24 Jan 2005 16:04:26 +0000 (16:04 +0000)
modules/Command.pm

index 2d46cc8146c08070d1ec6bc5a3eafa52167b1c28..4cea462504b7482fbf539576a6f3d0d9239f079c 100644 (file)
@@ -6,7 +6,7 @@ package Command;
 # Execute Dev-Editor's commands
 #
 # Author:        Patrick Canterino <patrick@patshaping.de>
-# 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;
   }

patrick-canterino.de