From 9edc4a129b94288341adc96ce6df73631cd1de0a Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 19 May 2015 13:25:57 +0200 Subject: [PATCH] Fix date-and-time tooltips not showing the time refs #6778 --- library/Icinga/Web/View/helpers/format.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Icinga/Web/View/helpers/format.php b/library/Icinga/Web/View/helpers/format.php index 115f13424..a364f6cde 100644 --- a/library/Icinga/Web/View/helpers/format.php +++ b/library/Icinga/Web/View/helpers/format.php @@ -37,7 +37,7 @@ $this->addHelperFunction('timeAgo', function ($time, $timeOnly = false) { } return sprintf( '%s', - DateFormatter::formatDate($time), + DateFormatter::formatDateTime($time), DateFormatter::timeAgo($time, $timeOnly) ); }); @@ -48,7 +48,7 @@ $this->addHelperFunction('timeSince', function ($time, $timeOnly = false) { } return sprintf( '%s', - DateFormatter::formatDate($time), + DateFormatter::formatDateTime($time), DateFormatter::timeSince($time, $timeOnly) ); }); @@ -59,7 +59,7 @@ $this->addHelperFunction('timeUntil', function ($time, $timeOnly = false) { } return sprintf( '%s', - DateFormatter::formatDate($time), + DateFormatter::formatDateTime($time), DateFormatter::timeUntil($time, $timeOnly) ); });