Clausify each clause of the parsed domain on date/time equality

Closes #14917
(grafted from 31fa77ee3dba8b633395d383b2d890333bf9aff3)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier committed 2026-06-29 18:06:10 +02:00
1 parent 4dbe028674
commit ec42f804a6
1 file changed
+4 -4
+4 -4
View File
@@ -1951,10 +1951,10 @@
date.hour(), date.minute(), date.second(),
date.millisecond())
next_day.add(1, 'day');
result.push(this._clausify([
[field_name, '>=', date],
[field_name, '<', next_day]
]));
result.push([
this._clausify([field_name, '>=', date]),
this._clausify([field_name, '<', next_day]),
]);
return;
}
}