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

Closes #14917
(grafted from 31fa77ee3dba8b633395d383b2d890333bf9aff3)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier
2026-06-29 18:06:10 +02:00
parent e2d622c196
commit 1faa31dcf6
+4 -4
View File
@@ -1972,10 +1972,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;
}
}