We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f70329 commit e95ca8fCopy full SHA for e95ca8f
src/Jenssegers/Mongodb/Query/Builder.php
@@ -892,7 +892,7 @@ protected function compileWheres()
892
// Convert DateTime values to UTCDateTime.
893
if (isset($where['value']) and $where['value'] instanceof DateTime)
894
{
895
- $where['value'] = new UTCDateTime($where['value']->getTimestamp());
+ $where['value'] = new UTCDateTime($where['value']->getTimestamp() * 1000);
896
}
897
898
// The next item in a "chain" of wheres devices the boolean of the
0 commit comments