mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 11:47:42 +02:00
Fix overdue filter (#4262)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
@@ -104,7 +104,7 @@ export async function nestedDontMatchResult (filter: Filter, onUpdate: () => voi
|
||||
}
|
||||
|
||||
export async function dateOutdated (filter: Filter): Promise<ObjQueryType<any>> {
|
||||
return { $lt: new Date() }
|
||||
return { $lt: Date.now() }
|
||||
}
|
||||
|
||||
export async function dateToday (filter: Filter): Promise<ObjQueryType<any>> {
|
||||
|
||||
Reference in New Issue
Block a user