Comments list: display the absolute expire date and time in tooltips

refs #10277
This commit is contained in:
Alexander A. Klimov 2016-02-18 10:39:52 +01:00
parent 97b5800f32
commit c4610ab05d

View File

@ -38,8 +38,9 @@
<span class="comment-icons" data-base-target="_self">
<?= $comment->persistent ? $this->icon('attach', 'This comment is persistent.') : '' ?>
<?= $comment->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)
)) : '' ?>
<?php if (isset($delCommentForm)) {
$deleteButton = clone $delCommentForm;