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

Timezone Offset

2 Answers 67 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 18 May 2011, 04:47 PM
I have been following this example to create a scheduler. I am having a problem with the start and end times both display as 4 hours earlier than the appointment. The data is being saved with the correct date and time and the LoadAppointments method in the WCF service retrieves the List of Appointments with the correct times. Sometime after that there seems to be some configuration that modifies the time by 4 hours.

2 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 25 May 2011, 04:07 PM
Hi Michael,

I apologize for the delayed answer.

RadScheduleView does not modify the time of the appointments without explicit user input (drag, resize or edit with a dialog), so I guess the problem is somewhere in your application. Will it be possible to send it to us, so that we can check what's wrong?

Best wishes,
Valeri Hristov
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
0
Michael
Top achievements
Rank 1
answered on 25 May 2011, 04:21 PM
Hi Valeri,

Thanks for the reply. i think I have figured it out. In the example I am following, if you look at the LoadData method you see that the start and end times are set to local time but the code for adding and editing  appointments saves these datetimes as entered without setting them to UTC. I changed this in my code to store the datetime values in UTC and it works.
Tags
ScheduleView
Asked by
Michael
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Michael
Top achievements
Rank 1
Share this question
or