mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
build(deps): bump dependencies (#2796)
This commit is contained in:

committed by
GitHub

parent
821bb79d83
commit
0fa84eae8d
4
server/utils/dateHelpers.ts
Normal file
4
server/utils/dateHelpers.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { addYears } from 'date-fns';
|
||||
import { Between } from 'typeorm';
|
||||
|
||||
export const AfterDate = (date: Date) => Between(date, addYears(date, 100));
|
Reference in New Issue
Block a user