Skip to content

Commit

Permalink
Use timeAgo() when displaying comments in the detail views
Browse files Browse the repository at this point in the history
refs #6778
  • Loading branch information
lippserd committed Apr 15, 2015
1 parent eb77fff commit e500715
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
Expand Down

0 comments on commit e500715

Please sign in to comment.