From c4610ab05d1779fac6908e890f1572ca021cd791 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 18 Feb 2016 10:39:52 +0100 Subject: [PATCH] Comments list: display the absolute expire date and time in tooltips refs #10277 --- .../views/scripts/partials/comment/comment-detail.phtml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/views/scripts/partials/comment/comment-detail.phtml b/modules/monitoring/application/views/scripts/partials/comment/comment-detail.phtml index 433b60412..5ac1c6f47 100644 --- a/modules/monitoring/application/views/scripts/partials/comment/comment-detail.phtml +++ b/modules/monitoring/application/views/scripts/partials/comment/comment-detail.phtml @@ -38,8 +38,9 @@ persistent ? $this->icon('attach', 'This comment is persistent.') : '' ?> expiration ? $this->icon('clock', sprintf( - $this->translate('This comment expires %s.'), - $this->timeUntil($comment->expiration) + $this->translate('This comment expires on %s at %s.'), + $this->formatDate($comment->expiration), + $this->formatTime($comment->expiration) )) : '' ?>