mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
Fix overdue filter (#4262)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
b522334f0e
commit
2f0f2e28ea
@ -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>> {
|
||||
|
Loading…
Reference in New Issue
Block a user