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

Timezone Offset and Full Day event

1 Answer 66 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alex Occhipinti
Top achievements
Rank 1
Alex Occhipinti asked on 13 Jul 2010, 09:17 PM
I made a simple change to set the TimezoneOffset of my scheduler and now my full day events show as taking two days on the month view.  The records are stored with times of 00:00 for both stop and start.  So I'm assuming that when the scheduler is seeing this, it then adjusts for timezone, and see that is crosses two days.  How do I get around that?  I'm also using the custom AdvancedForm from the examples.  All though I had to modify the properties so that they will show/save correctly.  What is the scheduler expecting the times to be stored in?  UTC?

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 20 Jul 2010, 03:52 PM
Hi Alex,

I can confirm that RadScheduler expects all times to be UTC in the data store, hence your all-day appointments are showing in the wrong place after changing the time zone offset.

We have a KB article on how to store the original time zone that was used to create the appointments. This allows them to appear always as all-day, regardless of the current time zone.

http://www.telerik.com/support/kb/aspnet-ajax/scheduler/pinning-all-day-appointments-for-different-time-zones.aspx

You should be able to set the additional field for the existing appointments as well with a suitable database query.

I hope this helps.

Greetings,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Alex Occhipinti
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or