My scheduler timeline will skip weeks instead of w/end

My scheduler timeline will skip weeks instead of just skipping the weekend. E.g - It will go from the 6th July up to the 18th of July.
Im not sure why this’s happening…I have posted the javascript code below:

Hello,
try specifying timeline_date function in order to align timeline to a week dates, and set a range values for a full week display.
please check this example
docs.dhtmlx.com/scheduler/snippet/69d4dcdd