From e1f6aee2e76701d85c9e3df616a026d3e74575f0 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 18 May 2015 14:17:48 +0200 Subject: [PATCH] Use timeAgo in the notifications overview refs #6778 --- .../application/views/scripts/list/notifications.phtml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/monitoring/application/views/scripts/list/notifications.phtml b/modules/monitoring/application/views/scripts/list/notifications.phtml index 9a3b424b4..a037aca25 100644 --- a/modules/monitoring/application/views/scripts/list/notifications.phtml +++ b/modules/monitoring/application/views/scripts/list/notifications.phtml @@ -34,11 +34,7 @@ use Icinga\Module\Monitoring\Object\Service; ?> - dateTimeRenderer($notification->notification_start_time)->render( - $this->translate('on %s', 'datetime'), - $this->translate('at %s', 'time'), - $this->translate('%s ago', 'timespan') - ) ?> + timeAgo($notification->notification_start_time) ?>