diff --git a/src/repeat/parsers.ts b/src/repeat/parsers.ts index 5c5cd0c..6305ed3 100644 --- a/src/repeat/parsers.ts +++ b/src/repeat/parsers.ts @@ -13,20 +13,6 @@ import { const joinedUnits = 'hour|day|week|month|year'; -export function makeDefaultRepetition( - repeatStrategy: string, - repeatDueAt?: DateTime, -): Repetition { - return { - repeatStrategy: repeatStrategy as Strategy, - repeatPeriod: 1, - repeatPeriodUnit: 'DAY' as PeriodUnit, - repeatTimeOfDay: 'AM' as TimeOfDay, - repeatDueAt: repeatDueAt || DateTime.now().plus({ day: 1 }), - hidden: false, - }; -} - function parseRepeatPeriodUnit(unitDescription: string): PeriodUnit { const processedUnitDescription = unitDescription.trim(); switch (processedUnitDescription) {