From: Martin Helmling martin.helmling@octosoft.eu Date: Sat, 30 Sep 2017 11:59:08 +0000 (+0200) Subject: Dateimanagement: lokalisiertes Datum in Darstellung X-Git-Tag: release-3.5.4~711 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b78e8bf79620e102d311b0ecb403217856ad4b3a;p=kivitendo-erp.git Dateimanagement: lokalisiertes Datum in Darstellung --- diff --git a/SL/File/Backend/Filesystem.pm b/SL/File/Backend/Filesystem.pm index 922928380..c42707d6c 100644 --- a/SL/File/Backend/Filesystem.pm +++ b/SL/File/Backend/Filesystem.pm @@ -98,7 +98,7 @@ sub get_mtime { die "No file found at $path. Expected: $params{dbfile}{file_name}, file.id: $params{dbfile}{id}" if !-f $path; my @st = stat($path); - my $dt = DateTime->from_epoch(epoch => $st[9])->clone(); + my $dt = DateTime->from_epoch(epoch => $st[9], time_zone => $::locale->get_local_time_zone()->name, locale => $::lx_office_conf{system}->{language})->clone(); return $dt; }