diff --git a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml index 2a4e4b033..a42edeb53 100644 --- a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml +++ b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml @@ -20,7 +20,7 @@ if ($object->getType() === $object::TYPE_HOST) { - timeSince($object->last_check) ?> + timeAgo($object->last_check) ?> @@ -54,7 +54,8 @@ if ($object->getType() === $object::TYPE_HOST) { ) ); } - } ?> timeUntil($object->next_check) ?> + } ?> + timeUntil($object->next_check) ?>