Skip to content

Commit

Permalink
Use `dateTimeRenderer' helper in hostgroups list view
Browse files Browse the repository at this point in the history
refs #6778
  • Loading branch information
Al2Klimov committed Nov 27, 2014
1 parent 47f96ff commit 86d36c1
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -46,7 +46,11 @@
<td class="state change <?= $state . $combinations[2] ?>">
<strong><?= $combinations[3] ?></strong>
<br>
<?= $this->prefixedTimeSince($time) ?>
<?= $this->dateTimeRenderer($time)->render(
$this->translate('since %s', 'datetime'),
$this->translate('since %s', 'time'),
$this->translate('for %s', 'timespan')
) ?>
</td>
<?php
break;
Expand Down

0 comments on commit 86d36c1

Please sign in to comment.