mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-21 06:34:30 +01:00
added recurrence (#35)
This commit is contained in:
10
lib/constants.ts
Normal file
10
lib/constants.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export const INITIAL_RECURRENCE_RULE = 'daily'
|
||||
|
||||
export const RECURRENCE_RULE_MAP: { [key: string]: string } = {
|
||||
'daily': 'FREQ=DAILY',
|
||||
'weekly': 'FREQ=WEEKLY',
|
||||
'monthly': 'FREQ=MONTHLY',
|
||||
'yearly': 'FREQ=YEARLY',
|
||||
'': 'invalid',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user