Fix: #14870 - Now Zip files display correct date and time
Fixes #14870 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
ccbc25dca9
@ -198,8 +198,8 @@ class ZipExtension
|
||||
foreach ($data as $table => $dump) {
|
||||
$temp_name = str_replace('\\', '/', $table);
|
||||
|
||||
/* Convert Unix timestamp to DOS timestamp */
|
||||
$timearray = ($time == 0) ? getdate() : getdate($time);
|
||||
/* Get Local Time */
|
||||
$timearray = getdate();
|
||||
|
||||
if ($timearray['year'] < 1980) {
|
||||
$timearray['year'] = 1980;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user