units for multiple days : scheduler.ignore not working !?

I tried units for multiple days and my scheduler should ignore Monday and friday , but when I use scheduler.ignore{_my_unit_multidayview} the calendar becomes messy.

This is my code :

includes :

JS :

scheduler.createUnitsView({
name:“msa_unit”,
property:“unit_id”,
list:[
{key:1, label:“Catty”},
{key:2, label:“Nadine”},
{key:3, label:“Martin”}
],
days :5,
});

/NOT WORKING/
scheduler.ignore_msa_unit = function(date){
if (date.getDay() == 1 || date.getDay() == 0) //hides Monday and Sundays
return true;
};

/* WORK */
scheduler.ignore_week = function(date){
if (date.getDay() == 1 || date.getDay() == 0) //hides Monday and Sundays
return true;
};

scheduler.init(‘scheduler_here’, new Date(),“msa_unit”);

scheduler.load(“http://laramsa.localhost.dev/c…”,“json”,function(){
console.log(“Chargement Terminé …”);
});

Hi,
what version of the scheduler do you use, is it a 4.3.0 or the latest 4.3.1 ?
The code seems working ok with the latest version
screencast.com/t/Lvm5cCgeNc

Yes it’s works with 4.3.1 . thanks Aliaksandr. :wink: