Hi,
I have a monthly recurring appointment sample code as below, my device is on English language setting, it is working fine that the appointment show at Wednesday 7/14/2021. But when I change the language setting to Chinese, the appointment display at Sunday 7/11/2021. I have SfSchedule control on version 19.2.0.46
var scheduleAppointment = new ScheduleAppointment()
{
Id = 1,
StartTime = new DateTime(2021, 07, 08, 10, 0, 0),
EndTime = new DateTime(2021, 07, 08, 12, 0, 0),
Subject = "Occurs every month on the 2nd Wednesday",
Color = Color.Accent,
};
//Adding schedule appointment in schedule appointment collection
scheduleAppointmentCollection.Add(scheduleAppointment);
//Adding schedule appointment collection to DataSource of SfSchedule
schedule.DataSource = scheduleAppointmentCollection;
// Creating recurrence rule
RecurrenceProperties recurrenceProperties = new RecurrenceProperties();
recurrenceProperties.RecurrenceType = RecurrenceType.Monthly;
recurrenceProperties.RecurrenceRange = RecurrenceRange.Count;
recurrenceProperties.DayOfWeek = 4;
recurrenceProperties.Week = 2;
recurrenceProperties.Interval = 2;
recurrenceProperties.RecurrenceCount = 10;
scheduleAppointment.RecurrenceRule = schedule.RRuleGenerator(recurrenceProperties, scheduleAppointment.StartTime, scheduleAppointment.EndTime);
Hi Muniappan,
Thank you very much for the prompt reply.
I ran your sample code, please check my attached video, I changed iPhone's Language setting from English to Chinese, the schedule display at wrong day.