This is a migrated thread and some comments may be shown as answers.

Time zone offset

4 Answers 102 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Anuruddha
Top achievements
Rank 1
Anuruddha asked on 04 Feb 2011, 06:36 AM
Hi,
I was exploring how to highlight correct 'today' in scheduler depending on the time zone (my application is set up in a way that the admin sets in which time zone the application is being used, enabling the application to be hosted in one time zone and used in another) and came across this help page. I feel the TimeZoneOffset property does not offer perfect solution to display events according to the time zone.

Consider the following scenario, where you have two events:
(a) at 11AM, 2nd April 2011
(b) at 11AM, 4th April 2011

Your time zone is Brisbane, Australia, which is UTC+10
Upon setting the TimeZoneOffset to timespan of 10 hours, you'll see both the events at their correct times.

But say your time zone is Melbourne, Australia which is UTC+10, but it practices daylight saving (whereas Brisbane does not). At the time of (a), DST is on, and at the time of (b), DST is off. (Note that DST for Melbourne will be switched off on 3rd April 2011)
If you set the TimeZoneOffset to 11 hours, only event (a) will be displayed correctly.
If you set the TimeZoneOffset to 10 hours, only event (b) will be displayed correctly.

Hence I feel it does not handle DST's correctly in the scheduler. Did I miss anything here?

Best regards,
Anuruddha



4 Answers, 1 is accepted

Sort by
0
Anuruddha
Top achievements
Rank 1
answered on 08 Feb 2011, 11:40 PM
Any thoughts?????
0
Nikolay Tsenkov
Telerik team
answered on 09 Feb 2011, 01:05 PM
Hi Anuruddha,

My suggestion is to change the TimeZoneOffset when displaying the 2 cases (with and without DST).

RadScheduler doesn't support DST, simply because this would mean that in some views, we should support 2 different TimeZoneOffsets at the same view (for example in Timeline or even Month view).


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Anuruddha
Top achievements
Rank 1
answered on 10 Feb 2011, 01:01 AM
Hi Nikolay,

Well, the two cases occur in the same view if I take the same scenario and are in the month view. Hence it is not possible to change the time zone offset to support both.
I feel the problem is the reason that RadSheduler does not support DST.

Best regards,
Anuruddha
0
Nikolay Tsenkov
Telerik team
answered on 15 Feb 2011, 10:14 AM
Hello Anuruddha,

The reason is that Scheduler doesn't support multiple TimeZoneOffsets. And because of that, currently, we can not support DST.
We are doing some research on improving TimeZone support, but I can not commit on anything but notifying you whenever there is some progress on this topic. That I can do.

I apologize for any inconvenience caused.


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
Anuruddha
Top achievements
Rank 1
Answers by
Anuruddha
Top achievements
Rank 1
Nikolay Tsenkov
Telerik team
Share this question
or