Timezone - "Today" button

4 posts, 1 answers
  1. Santo
    Santo  avatar
    7 posts
    Member since:
    Sep 2014

    Posted 26 May 2017 Link to this post

    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?
  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2053 posts

    Posted 26 May 2017 Link to this post

    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.
  3. Santo
    Santo  avatar
    7 posts
    Member since:
    Sep 2014

    Posted 28 May 2017 Link to this post

    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

  4. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    2053 posts

    Posted 30 May 2017 Link to this post

    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.
Back to Top