10000 [ErrorRenderer] Fix timestamp on logs view · jschaedl/symfony@a0ad2d0 · GitHub
[go: up one dir, main page]

Skip to content

Commit a0ad2d0

Browse files
committed
[ErrorRenderer] Fix timestamp on logs view
1 parent d94c4b4 commit a0ad2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/ErrorRenderer/Resources/views/logs.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tr class="status-<?= $status; ?>" data-filter-level="<?= strtolower($this->escape($log['priorityName'])); ?>"<?php if ($channelIsDefined) { ?> data-filter-channel="<?= $this->escape($log['channel']); ?>"<?php } ?>
2323
<td class="text-small" nowrap>
2424
<span class="colored text-bold"><?= $this->escape($log['priorityName']); ?></span>
25-
<span class="text-muted newline"><?= (new \DateTime($log['timestamp']))->format('H:i:s'); ?></span>
25+
<span class="text-muted newline"><?= date('H:i:s', $log['timestamp']); ?></span>
2626
</td>
2727
<?php if ($channelIsDefined) { ?>
2828
<td class="text-small text-bold nowrap">

0 commit comments

Comments
 (0)
0