1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Add timezone to Dates

This commit is contained in:
Kamisama
2013-10-23 16:42:04 -04:00
parent 620922356a
commit 780d1d838b

View File

@@ -103,7 +103,7 @@ class CubeHandler extends AbstractProcessingHandler
{ {
$date = $record['datetime']; $date = $record['datetime'];
$data = array('time' => $date->format('Y-m-d\TH:i:s.u')); $data = array('time' => $date->format('Y-m-d\TH:i:s.uO'));
unset($record['datetime']); unset($record['datetime']);
if (isset($record['context']['type'])) { if (isset($record['context']['type'])) {