From 1f2f8fdc0c2b6dfbb0305599de5d61695dc8c99a Mon Sep 17 00:00:00 2001
From: enriquecd <enrique.camargo@artica.com>
Date: Fri, 17 Nov 2017 11:44:38 +0100
Subject: [PATCH] Change time format in agent events 24h bar view and show the
 last start time - #1613

---
 pandora_console/include/functions_graph.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php
index ccad237208..17fbcb9c65 100644
--- a/pandora_console/include/functions_graph.php
+++ b/pandora_console/include/functions_graph.php
@@ -3728,7 +3728,7 @@ function graph_graphic_agentevents ($id_agent, $width, $height, $period = 0, $ho
 		$bottom = $datelimit + ($periodtime * $i);
 		if (! $graphic_type) {
 			if ($config['flash_charts']) {
-				$name = date('H:i:s', $bottom);
+				$name = date('H:i', $bottom);
 			}
 			else {
 				$name = date('H\h', $bottom);