Revision b78e8bf7
Von Martin Helmling martin.helmling@octosoft.eu vor etwa 7 Jahren hinzugefügt
SL/File/Backend/Filesystem.pm | ||
---|---|---|
98 | 98 |
die "No file found at $path. Expected: $params{dbfile}{file_name}, file.id: $params{dbfile}{id}" if !-f $path; |
99 | 99 |
|
100 | 100 |
my @st = stat($path); |
101 |
my $dt = DateTime->from_epoch(epoch => $st[9])->clone(); |
|
101 |
my $dt = DateTime->from_epoch(epoch => $st[9], time_zone => $::locale->get_local_time_zone()->name, locale => $::lx_office_conf{system}->{language})->clone();
|
|
102 | 102 |
return $dt; |
103 | 103 |
} |
104 | 104 |
|
Auch abrufbar als: Unified diff
Dateimanagement: lokalisiertes Datum in Darstellung