Limit hours not working & overlap of last loaded appointment

Hello,

First & Last hours issue:

In my script I have the following:

$$('scheduler').$$('dayList').define("firstHour", 6); $$('scheduler').$$('dayList').define("lastHour", 20);

This limits the hours that are displayed on the scheduler.

My problem lies with the fact that when the appointments are loaded, they are displayed at the incorrect times, as if they have been rendered from 00:00 onward rather than 06:00 as specified. For example, an appointment that starts at 07:30 will be rendered at 13:30.

The odd thing is, when I view the mobile scheduler on a desktop browser, it works fine. The appointments are rendered at their correct time slots. When viewing on a mobile device, the appointments are rendered out of their time slots.

Last appointment loaded overlaps on today’s date.

I have the scheduler set to default to day view on the current date. When the scheduler is loaded, the last entry in the XML file I generate is displayed over all other appointments that may be in the day view. The start date of the last loaded entry is usually seven days in the future.

I can remove this entry by clicking the “Today” button, but it still seems that it shouldn’t be doing that.

Here is a link to the JavaScript: pastebin.com/NmnLbCFY

Have you come across either of these issues before? If you

Thanks for taking your time to help me.

Dan

Hello Dan,

Are you using the latest version (dhtmlxScheduler_mobile_v35_120626) ? We have not reproduced the problem with it.

It turns out that I wasn’t using the latest version of the mobile scheduler.

Thank you for your easy fix. However, I did have a bit of difficulty in identifying which version I had. Perhaps including the version number and release date in the comments might hekp?

Thanks again Alexandra

Hello Dan,

we will necessary consider this idea.