diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 75c8e32f80..bbb08c5435 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -4844,8 +4844,7 @@ function events_page_general($event) $user_ack = $event['id_usuario']; } - $date_ack = io_safe_output($event['ack_utimestamp']); - $data[1] = $user_ack.' ('.$date_ack.')'; + $data[1] = $user_ack.' ( '.date($config['date_format'], $event['ack_utimestamp_raw']).' ) '; } else { $data[1] = ''.__('N/A').''; } diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index a9f05150b4..99feb96640 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -374,6 +374,9 @@ if (is_ajax()) { } $tmp->agent_name = io_safe_output($tmp->agent_name); + + $tmp->ack_utimestamp_raw = strtotime($tmp->ack_utimestamp); + $tmp->ack_utimestamp = ui_print_timestamp( $tmp->ack_utimestamp, true