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
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