Seldaek/monolog — pull request #62 by mlehner (2012-02-24 23:21:46+00:00)
Title: Third attempt at fixing microseconds

The last update by Seldaek causes the original behavior of always having 0 microseconds. My best guess is that PHP resets the microseconds to 0 after the seconds is parsed. I tested the latest change with the following code at 1 million iterations.

```php
for($i=0;$i<$argv[1];$i++){
$dt = \DateTime::createFromFormat('U.u', sprintf('%.6f', microtime(true)));
var_dump($dt->format('U.u'));
}
```