From bfcb32bd57ca434f81d51c88b6e97518067fd8f7 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Fri, 13 Dec 2024 21:19:59 +0600 Subject: [PATCH] fix: schedule learning time frequency (#7871) --- src/components/Schedule/ScheduleEventModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Schedule/ScheduleEventModal.tsx b/src/components/Schedule/ScheduleEventModal.tsx index f01d4cbc07f2..be37c20e5ec3 100644 --- a/src/components/Schedule/ScheduleEventModal.tsx +++ b/src/components/Schedule/ScheduleEventModal.tsx @@ -23,7 +23,7 @@ DESCRIPTION:${details} LOCATION:${location} DTSTART:${startDate.toISOString().replace(/-|:|\.\d+/g, '')} DTEND:${endDate.toISOString().replace(/-|:|\.\d+/g, '')} -RRULE:FREQ=DAILY +RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR BEGIN:VALARM 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, '')}`, details, location, - recur: 'RRULE:FREQ=DAILY', + recur: 'RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR', }).toString(); setIsLoading(false);