fix: schedule learning time frequency (#7871)

pull/7881/head
Arik Chakma 2 months ago committed by GitHub
parent 2623d7abeb
commit bfcb32bd57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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