This commit is contained in:
Daniel 2023-07-27 13:09:13 +08:00
parent fd9c1b221e
commit aafb91a410
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -196,6 +196,8 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) bool
end := true
if value.Date.HasEndDate {
end = value.Date.Content2 <= other.Date.Content2
} else {
end = value.Date.Content <= other.Date.Content2
}
return start && end
case FilterOperatorIsEmpty: