mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 06:06:40 +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 .= $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']);
|
||||
if ($record['context']) {
|
||||
$embeddedTable = '<table cellspacing="1" width="100%">';
|
||||
|
Reference in New Issue
Block a user