cakephp/cakephp — pull request #4941 by Laykou (2014-10-20 21:11:36+00:00)
Title: Update Postgres Datediff

There was a problem when using:

```PHP
$query -> func() -> dateDiff( [ 'COALESCE(Articles.modified, Articles.created)' => 'literal', date( "Y-m-d H:i:s" ) ] )
```