[ErrorRenderer] Fix timestamp on logs view

This commit is contained in:
Maxime Helias 2019-08-07 13:59:59 +02:00
parent d94c4b4c6d
commit a0ad2d0caa

View File

@ -22,7 +22,7 @@
<tr class="status-<?= $status; ?>" data-filter-level="<?= strtolower($this->escape($log['priorityName'])); ?>"<?php if ($channelIsDefined) { ?> data-filter-channel="<?= $this->escape($log['channel']); ?>"<?php } ?>
<td class="text-small" nowrap>
<span class="colored text-bold"><?= $this->escape($log['priorityName']); ?></span>
<span class="text-muted newline"><?= (new \DateTime($log['timestamp']))->format('H:i:s'); ?></span>
<span class="text-muted newline"><?= date('H:i:s', $log['timestamp']); ?></span>
</td>
<?php if ($channelIsDefined) { ?>
<td class="text-small text-bold nowrap">