From d6374d47701e72fb3d5ab2d987782e415a56ea05 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 10 Apr 2015 10:27:57 +0200 Subject: [PATCH] Use timeAgo() instead of timeSince() for an object's last check refs #6778 --- .../views/scripts/show/components/checkstatistics.phtml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) ?>