scheduler.config.first_hour not working

scheduler.config.first_hour = 9 is not working.
only last_hour is working.

It’s definetely works in one of our examples
scheduler/samples/01_initialization_loading/05_loading_database.html
Please, specify the problem

its working sorry about htat just a small error.
i would like to know how to color all dates before current date.
i have made the previous date in active by using the follwing code

scheduler.config.limit_start = new Date();
scheduler.config.limit_end = new Date(9999,0,1);
scheduler.config.limit_view = true;

how to apply color to the dates

check this article
docs.dhtmlx.com/doku.php?id=dhtm … edtimespan

i want to apply it to all dates before current day ie till today.
the given code just applies it to some specified day.

You may use something following

scheduler.addMarkedTimespan({ start_date:new Date(0), //from some minimal date end_date:new Date(), // to current date ...});

thanks its perfect.