monitoring: Fix date and time formatting for comments

refs #6778
This commit is contained in:
Eric Lippmann 2015-05-22 10:22:14 +02:00
parent da97523fa0
commit 873bc22a1e
1 changed files with 14 additions and 14 deletions

View File

@ -50,7 +50,7 @@
<tr> <tr>
<th><?= $this->translate('Created') ?></th> <th><?= $this->translate('Created') ?></th>
<td><?= date('d.m.y H:i' ,$this->escape($this->comment->timestamp)) ?></td> <td><?= $this->formatDateTime($this->comment->timestamp) ?></td>
</tr> </tr>
<tr> <tr>
@ -58,8 +58,8 @@
<td> <td>
<?= $this->comment->expiration ? sprintf( <?= $this->comment->expiration ? sprintf(
$this->translate('This comment expires on %s at %s.'), $this->translate('This comment expires on %s at %s.'),
date('d.m.y', $this->comment->expiration), $this->formatDate($this->comment->expiration),
date('H:i', $this->comment->expiration) $this->formatTime($this->comment->expiration)
) : $this->translate('This comment does not expire.'); ) : $this->translate('This comment does not expire.');
?> ?>
</td> </td>