Modified date formatting to avoid entities

This commit is contained in:
Jose Gonzalez 2019-07-25 15:43:46 +02:00
parent 5cdfb871a1
commit 5ab2bfacbd
1 changed files with 1 additions and 1 deletions

View File

@ -2873,7 +2873,7 @@ function print_audit_csv($data)
echo __('User').$divider.__('Action').$divider.__('Date').$divider.__('Source IP').$divider.__('Comments')."\n";
foreach ($data as $line) {
echo io_safe_output($line['id_usuario']).$divider.io_safe_output($line['accion']).$divider.date($config['date_format'], $line['utimestamp']).$divider.$line['ip_origen'].$divider.io_safe_output($line['descripcion'])."\n";
echo io_safe_output($line['id_usuario']).$divider.io_safe_output($line['accion']).$divider.io_safe_output(date($config['date_format'], $line['utimestamp'])).$divider.$line['ip_origen'].$divider.io_safe_output($line['descripcion'])."\n";
}
exit;