Use timeAgo() when displaying comments in the detail views

refs #6778
This commit is contained in:
Eric Lippmann 2015-04-15 15:33:44 +02:00
parent eb77fff012
commit e500715bda

View File

@ -44,7 +44,7 @@ foreach ($object->comments as $comment) {
?>
<tr>
<th><?= $this->escape($comment->author); ?> (<?= $this->timeSince($comment->timestamp); ?>)</th>
<th><?= $this->escape($comment->author); ?> (<?= $this->timeAgo($comment->timestamp); ?>)</th>
<td data-base-target="_self">
<?php if (isset($delCommentForm)) { // Form is unset if the current user lacks the respective permission
$delCommentForm = clone $delCommentForm;