From 1940dcc49fc9a258be36cf33c6561c3a21e17d7d Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 18 Apr 2023 10:33:41 +0200 Subject: [PATCH] #10727 fix timestamp format on report event agent --- pandora_console/include/functions_reporting_html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index 807dee3ca3..b39b947c8b 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -2714,7 +2714,7 @@ function reporting_html_event_report_agent($table, $item, $pdf=0) if ($item['show_summary_group']) { $data[] = ''.date($config['date_format'], $event['timestamp']).''; } else { - $data[] = ''.date($config['date_format'], $event['timestamp']).''; + $data[] = ''.date($config['date_format'], strtotime($event['timestamp'])).''; } if ((bool) $item['show_custom_data'] === true) {