Open
Description
I have a basic events structure with a start/end date and i'm trying to filter it in the store:
return this.findEventsInStore({
query: {
$limit: this.pagination.perPage,
start: {
$gte: this.start
}
}
});
this.start = Tue Feb 01 2022 00:00:00 GMT-0800 (Pacific Standard Time)
as a Date object
current state for events in store:
{ "total": 1, "limit": 5, "skip": 0, "data": [ { "title": "Test Event", "description": "Testing...", "start": "2022-02-25T01:30:00.000Z", "end": "2022-02-25T06:30:00.000Z"} ]
It will return all events in the store if I remove the start: { $gte }
filter, however when filtering by start date it returns and empy result set. Any ideas?
Metadata
Metadata
Assignees
Labels
No labels