diff --git a/src/commandCenter/utils/stringToTime.ts b/src/commandCenter/utils/stringToTime.ts index 4c407c3..3f745a5 100644 --- a/src/commandCenter/utils/stringToTime.ts +++ b/src/commandCenter/utils/stringToTime.ts @@ -1,7 +1,7 @@ import * as chrono from 'chrono-node' export const stringToTime = (input: string, created: Date): Date => { - let time = chrono.parseDate( + const time = chrono.parseDate( input, { instant: created }, { forwardDate: true }