Skip to content

Commit

Permalink
Fix wrong string generation in PropelDateTime::getMicrotime
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj authored Jun 8, 2017
1 parent 9731408 commit efafd09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Propel/Runtime/Util/PropelDateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static function getMicrotime()
{
$mtime = microtime(true);

return str_replace(',', '.', $mtime);
return number_format($mtime, 6, '.', '');
}

/**
Expand Down

0 comments on commit efafd09

Please sign in to comment.