Hi there,
I’m working on the Timeline column. To implement a function in my app, I need to get the item by timeline column with a specific day, a specific time time range.
I had tested some cases, and monday.com API already supports so well with operator: between. See:
items_page(
limit: $limit
query_params: {rules: :
{
column_id: $timelineField,
compare_value: :"2023-11-19", "2023-12-02"],
compare_attribute: "START_DATE",
operator: between
},
{
column_id: $timelineField,
compare_value: :"2023-11-19", "2023-12-02"],
compare_attribute: "END_DATE",
operator: between
}
],
operator: or
}
)
However, it doesn’t seem working well on greater_than_or_equals, greater_than, lower_than_or_equals, and lower_than. It still works fine with other defined compare values such as "TODAY"
, "TOMORROW",
. But what I need is a special day. so this is the query I tried:
items_page(
limit: $limit
query_params: {
rules: e
{
column_id: $timelineField,
compare_value: u"2023-10-20"],
compare_attribute: "START_DATE",
operator: greater_than_or_equals
}
]
}
Maybe, I got something wrong. Please advise me about how to get all the items planned before/after a specific day,