Permalink
Browse files

Add microsecond precision to time

  • Loading branch information...
1 parent 9b3524a commit afe921b89db651881f76efa0d7b3299995e5a7c9 @wa0x6e wa0x6e committed Oct 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Monolog/Handler/CubeHandler.php
@@ -103,7 +103,7 @@ protected function write(array $record)
{
$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'])) {

0 comments on commit afe921b

Please sign in to comment.