fix: schedule learning time frequency

fix/schedule-frequency
Arik Chakma 4 months ago
parent 90e20fcd8f
commit 18fb42a5d7
  1. 4
      src/components/Schedule/ScheduleEventModal.tsx

@ -23,7 +23,7 @@ DESCRIPTION:${details}
LOCATION:${location} LOCATION:${location}
DTSTART:${startDate.toISOString().replace(/-|:|\.\d+/g, '')} DTSTART:${startDate.toISOString().replace(/-|:|\.\d+/g, '')}
DTEND:${endDate.toISOString().replace(/-|:|\.\d+/g, '')} DTEND:${endDate.toISOString().replace(/-|:|\.\d+/g, '')}
RRULE:FREQ=DAILY RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
BEGIN:VALARM BEGIN:VALARM
TRIGGER:-PT30M TRIGGER:-PT30M
@ -151,7 +151,7 @@ Visit the roadmap at https://roadmap.sh/${roadmapId}
dates: `${startDate.toISO().replace(/-|:|\.\d+/g, '')}/${endDate.toISO().replace(/-|:|\.\d+/g, '')}`, dates: `${startDate.toISO().replace(/-|:|\.\d+/g, '')}/${endDate.toISO().replace(/-|:|\.\d+/g, '')}`,
details, details,
location, location,
recur: 'RRULE:FREQ=DAILY', recur: 'RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR',
}).toString(); }).toString();
setIsLoading(false); setIsLoading(false);

Loading…
Cancel
Save