Hello Syncfusion,
it seems theres a bug in the method ParseRRule of the SchedulerRecurrenceInfo :
For Weekly recurrence, it always returns WeekDays including the WeekDay "Sunday" even when Sunday is not in the recurrence.
Exemple with "FREQ=WEEKLY;BYDAY=SA;INTERVAL=1" :
var schedulerRecurrenceInfo = SchedulerRecurrenceManager.ParseRRule("FREQ=WEEKLY;BYDAY=SA;INTERVAL=1", DateTime.Now);
// Bug : shows Saturday + Sunday
Debug.WriteLine(schedulerRecurrenceInfo.WeekDays);Can you please fix it or tell me a workaround ?
It seems the problem occurs because
WeekDays default value is Sunday, and we add days to this default value :
if (text.Contains("SA"))
{
schedulerRecurrenceInfo.WeekDays |= SchedulerWeekDays.Saturday;
}