Change time format in agent events 24h bar view and show the last start time - #1613

This commit is contained in:
enriquecd 2017-11-17 11:44:38 +01:00
parent 215d3c005f
commit 1f2f8fdc0c

View File

@ -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);