#10727 fix timestamp format on report event agent
This commit is contained in:
parent
2d3c3b70e6
commit
1940dcc49f
|
@ -2714,7 +2714,7 @@ function reporting_html_event_report_agent($table, $item, $pdf=0)
|
||||||
if ($item['show_summary_group']) {
|
if ($item['show_summary_group']) {
|
||||||
$data[] = '<font class="font_6pt">'.date($config['date_format'], $event['timestamp']).'</font>';
|
$data[] = '<font class="font_6pt">'.date($config['date_format'], $event['timestamp']).'</font>';
|
||||||
} else {
|
} else {
|
||||||
$data[] = '<font class="font_6pt">'.date($config['date_format'], $event['timestamp']).'</font>';
|
$data[] = '<font class="font_6pt">'.date($config['date_format'], strtotime($event['timestamp'])).'</font>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((bool) $item['show_custom_data'] === true) {
|
if ((bool) $item['show_custom_data'] === true) {
|
||||||
|
|
Loading…
Reference in New Issue