I am using React Admin. My data table has this column (id, date, name, email, address). Now I also add a sidebar to filter my data based on Today, This Week, Last Week, This Month, Last Month...
I also see the React Admin documentation.... how can I use this documentation code in my project
<FilterListItem
label="This week"
value={{
last_seen_gte: startOfWeek(new Date()).toISOString(),
last_seen_lte: undefined
}}
/>
what is last_seen_gte and last_seen_lte ?? I have only column "Date" How can I use this column(Date) to filter???