Commit 86a61ab8 authored by Tom Lindelius's avatar Tom Lindelius

Fix for issue #1276

parent 8c17827d
......@@ -910,6 +910,12 @@ class Builder extends BaseBuilder
$where['value'] = new UTCDateTime($where['value']->getTimestamp() * 1000);
}
}
} elseif (isset($where['values'])) {
array_walk_recursive($where['values'], function (&$item, $key) {
if ($item instanceof DateTime) {
$item = new UTCDateTime($item->getTimestamp() * 1000);
}
});
}
// The next item in a "chain" of wheres devices the boolean of the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment