mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-02 21:51:49 +01:00
🔖 Release v2.9.7
This commit is contained in:
parent
b5bf94e68a
commit
c6dca8fa9c
4 changed files with 132 additions and 0 deletions
|
|
@ -192,6 +192,9 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) bool
|
|||
case FilterOperatorIsLessOrEqual:
|
||||
return value.Date.Content <= other.Date.Content
|
||||
case FilterOperatorIsBetween:
|
||||
if value.Date.HasEndDate {
|
||||
// TODO: date filter (between)
|
||||
}
|
||||
return value.Date.Content >= other.Date.Content && value.Date.Content <= other.Date.Content2
|
||||
case FilterOperatorIsEmpty:
|
||||
return 0 == value.Date.Content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue