syncfusion / ej2-react-ui-components

Syncfusion React UI components library offer more than 50+ cross-browser, responsive, and lightweight react UI controls for building modern web applications.
https://www.syncfusion.com/react-ui-components
Other
349 stars 103 forks source link

schedule calendar DST issue in recurrent events #116

Closed elehaf16 closed 1 year ago

elehaf16 commented 1 year ago

There is a problem with recurrent events when they cross the DST (Daylight Saving Time). This error occurs when you create a recurrent event with a timezone different from your schedule timezone, and that timezone has no DST, like this one: (UTC +00:00) Reykjavik.

I set the schedule timezone to (UTC 00:00 Canary Islands).

You can compare the results if you create this event in google calendar, and when you create with syncfusion. I attached some images to see the differences.

With google calendar: Captura de Pantalla 2022-12-16 a las 13 14 48

You can see that the event is shift one hour later because you are watching the schedule in my schedule timezone that has DST. (UTC 00:00 Canary Islands).

But in syncfusion the event is not shifted one hour. I attach the image:

Captura de Pantalla 2022-12-16 a las 13 23 02

So If you are watching the schedule on your own local time that has DST, (in my case setting up the schedule to UTC 00:00 Canary Islands) and then you create a recurrent event with a timezone that don't have DST, it displays in a wrong hour when the DST is apply, that in this year was between 2022/03/26 and 2022/03/27.

vijayravi161099 commented 1 year ago

Hi elehaf16,

The Schedule component events DST(Daylight Saving Time) works based on the system time zone. When the browser timezone is set to any DST timezone, the scheduler applies the DST timezone. If not, the scheduler will not apply DST to shift the timing in recurring appointments and will continue to display normal time. Additionally, we logged the feedback to control this behavior. The feature will be included in any of our upcoming releases. Track the status by using the below link.

https://www.syncfusion.com/feedback/35974/need-to-provide-support-for-enable-disable-the-dst-through-api-in-schedule

Regards, Vijay Ravi.

syncsiva commented 1 year ago

Closing for housekeeping purposes. This feature can be tracked through below feedback link further, https://www.syncfusion.com/feedback/35974/need-to-provide-support-for-enable-disable-the-dst-through-api-in-schedule