formatter(value) {
const obj = value;
const num = (new Date(obj.date)).getDay();
if(num === 0 || num === 6){
const date = new Date();
if(date<=value.date && value.date <=this.maxDate) {
obj.className = ‘rRed’;
}
}
return obj;
}
formatter(value) {
const obj = value;
const num = (new Date(obj.date)).getDay();
if(num === 0 || num === 6){
const date = new Date();
if(date<=value.date && value.date <=this.maxDate) {
obj.className = ‘rRed’;
}
}
return obj;
}