You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2468,13 +2471,20 @@ function getQuantityInstanceForMinMax(ivl) {
2468
2471
}
2469
2472
function performConversionIfNecessary(left, right) {
2470
2473
if (left.pointType === elmTypes_1.ELM_DATE_TYPE && right.pointType === elmTypes_1.ELM_DATETIME_TYPE) {
2471
-
left = new Interval(left.low?.getDateTime(), left.high?.getDateTime(), left.lowClosed, left.highClosed, elmTypes_1.ELM_DATETIME_TYPE);
2474
+
left = new Interval(convertDateBoundaryToDateTime(left.low), convertDateBoundaryToDateTime(left.high), left.lowClosed, left.highClosed, elmTypes_1.ELM_DATETIME_TYPE);
2472
2475
}
2473
2476
else if (left.pointType === elmTypes_1.ELM_DATETIME_TYPE && right.pointType === elmTypes_1.ELM_DATE_TYPE) {
2474
-
right = new Interval(right.low?.getDateTime(), right.high?.getDateTime(), right.lowClosed, right.highClosed, elmTypes_1.ELM_DATETIME_TYPE);
2477
+
right = new Interval(convertDateBoundaryToDateTime(right.low), convertDateBoundaryToDateTime(right.high), right.lowClosed, right.highClosed, elmTypes_1.ELM_DATETIME_TYPE);
2475
2478
}
2476
2479
return [left, right];
2477
2480
}
2481
+
function convertDateBoundaryToDateTime(boundary) {
0 commit comments