1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-15 09:34:09 +02:00

Add microsecond precision to time

This commit is contained in:
Kamisama
2012-10-17 18:06:36 -04:00
parent 9b3524a92d
commit afe921b89d

View File

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