Hi Team,
We are
exporting our appointment details like below (code section) to generate .ics
file. When we book an appointment in our WOOFware
application, the email confirmation has an attached ICS file to add the
appointment to the client's calendar. The vcaappnt.ics attachment
itself is working correctly. However, if the client uses gmail,
there is a banner at the top that allows them to add that ics to their Google calendar.
Issue: When the appointment is close to a daylight savings time, the google calendar option is adding the appointment 1 hour later than the appointment. Please see the below,
Appointment time - Oct
31 @6 PM – 6.15PM EDT. But, in google it shows as 4.30am – 4.45am IST instead
of 3:30am-3.45am IST. (please see the attachment - IST Time format)
Appointment time - Oct
31 @6 PM-6.15 PM EDT. But, in google it shows as 4pm – 4.15pmIST instead of 3pm-3.15pm
IST.(please see the attachment - PDT Time format)
Code
using Telerik.Windows.Controls.ScheduleView;
ICalendar.AppointmentCalendarExporter exporter = new ICalendar.AppointmentCalendarExporter();
// appointment details exported(included timezone, location,time etc...)
exporter.Export(appointments, sw);
The time zone will be PDT, EDT, CDT – and it
will erroneously add 1 hour to the appointment(.ics file) and the time
zone will say PST, EST, CST and it will
show the correct time
The actual .ics file is being generated using a Telerik
library. That’s the one that is creating these RRULE entries in the .ics file.
So, different time gives in google and outlook using this .ics file? How to
resolve this ?
Thanks,
Srinivasan