mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-24 10:06:08 +02:00
Merge pull request #406 from maffpool/master
Use dateFormat in HtmlFormatter
This commit is contained in:
@@ -86,7 +86,7 @@ class HtmlFormatter extends NormalizerFormatter
|
|||||||
$output .= '<table cellspacing="1" width="100%">';
|
$output .= '<table cellspacing="1" width="100%">';
|
||||||
|
|
||||||
$output .= $this->addRow('Message', (string) $record['message']);
|
$output .= $this->addRow('Message', (string) $record['message']);
|
||||||
$output .= $this->addRow('Time', $record['datetime']->format('Y-m-d\TH:i:s.uO'));
|
$output .= $this->addRow('Time', $record['datetime']->format($this->dateFormat));
|
||||||
$output .= $this->addRow('Channel', $record['channel']);
|
$output .= $this->addRow('Channel', $record['channel']);
|
||||||
if ($record['context']) {
|
if ($record['context']) {
|
||||||
$embeddedTable = '<table cellspacing="1" width="100%">';
|
$embeddedTable = '<table cellspacing="1" width="100%">';
|
||||||
|
|||||||
Reference in New Issue
Block a user