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

Timezone - "Today" button

3 Answers 42 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Santo
Top achievements
Rank 1
Santo asked on 26 May 2017, 05:37 AM
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

Sort by
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.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Santo
Top achievements
Rank 1
answered on 29 May 2017, 02:19 AM

Hi Ivan,

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.

Thanks

0
Accepted
Ivan Danchev
Telerik team
answered on 30 May 2017, 11:41 AM
Hello Santo,

Thank you for the additional information provided.

We logged the incorrect navigation on "Today" button click for fixing. You can track the bug's status through the logged issue in our Github repo.

I updated your Telerik points for reporting this issue.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
Santo
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Santo
Top achievements
Rank 1
Share this question
or