This is a migrated thread and some comments may be shown as answers.
Disable automatic timezone conversion
4 Answers 99 Views
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 2
Chad asked on 26 Jul 2015, 04:45 AM
How do I disable the automatic conversion to the client timezone. I want the scheduler to display the date and time I tell it to without it converting to the users local timezone. I am displaying flight data and the users have the ability to plot the events in UTC, at a given airport or their timezone. I convert these dates manually in SQL and return them to the UI. Is this possible or is there some workaround I can put in place. 

4 Answers, 1 is accepted

Sort by
0
eo
Top achievements
Rank 1
answered on 27 Jul 2015, 07:13 PM

Hello Chad,

To disable the Timezone conversion in the currentTimeMarker use:

currentTimeMarker: {
    useLocalTimezone: false
  }

To work around the automatic implicit conversion of dates between server and client side, you can use this workaround provided by Telerik. 

0
Vladimir Iliev
Telerik team
answered on 28 Jul 2015, 11:01 AM
Hello Robert,

Actually the Scheduler by default expects to receive and sends to the server only UTC dates and if no "timezone" option is defined on the client side all events will be shown by converting these UTC dates to the client timezone. If you need to show the events the same way to all clients than you should set the "timezone" option. If you need to show the events the same way as on the server side than this option should be set to "Etc/UTC".

Regards,
Vladimir Iliev
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Andrew
Top achievements
Rank 1
answered on 20 Sep 2015, 03:55 PM
This still does not seem to work. With everything set at Etc/UTC the scheduler is still adjusting the times.
0
Vladimir Iliev
Telerik team
answered on 22 Sep 2015, 10:52 AM
Hi Andrew,

I already answered to this query in duplicated support ticket created by you - #971957 . Please keep in mind that it is highly recommended that you keep related questions in one support thread or a forum post, so that we can easily keep track of your support history and provide better answers in a shorter time.

Regards,
Vladimir Iliev
Telerik
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 Feedback Portal and vote to affect the priority of the items
Asked by
Chad
Top achievements
Rank 2
Answers by
eo
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or