When I set the timezone in Scheduler to something quite different to my local time then click the "Today" button, it is not using this timezone to determine what date it is today - rather it is using the local timezone. Can you confirm this happens, and whether it is intentional or a bug?
3 Answers, 1 is accepted
0
Ivan Danchev
Telerik team
answered on 26 May 2017, 07:23 AM
Hello Santo,
There is a configuration option (currentTimeMarker.useLocalTimezone), which controls whether the current time will be displayed according to the local timezone or according to the timezone set to the Scheduler. Here's a dojo example. useLocalTimezone is set to false, the Scheduler's timezone is set to "Etc/UTC" and clicking on "Today" will show the current time marker based on that timezone.
I am not sure what your local timezone is, but please try setting the timezone in the Scheduler to something that results in "Today" being a different day than your own. E.g. for me my local timezone is Australia/Victoria and it is Monday 29/05. In the timezone America/Vancouver it is currently Sunday 28/05. If I set up the Scheduler with useLocalTimezone false and with the timezone set to America/Vancouver then click "Today", it shows me Monday 29/05. If I manually change to 28/05 the current time marker is in the correct place, but the day I'm sent to as "Today" is incorrect.