Skip to content

Commit

Permalink
Add millisecond precision in Propel Postgres date fn.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddmann committed May 11, 2017
1 parent 0894f30 commit b99e1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/lib/adapter/DBPostgres.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function getId(PDO $con, $name = null)
*/
public function getTimestampFormatter()
{
return "Y-m-d H:i:s O";
return "Y-m-d H:i:s.u O";
}

/**
Expand Down

0 comments on commit b99e1c0

Please sign in to comment.