$("#calendar td").each(function () {
if (parseInt($(this).text())) {
let yearMonth = sheduleDate[$('#calendar td[data-year]').attr('data-year')][$('#calendar td[data-month]').attr('data-month')];
// console.log(yearMonth)
if (yearMonth) {
if (yearMonth.indexOf(parseInt($(this).text())) !== -1) {
$(this).addClass('scheduleday')
console.log(yearMonth)
}
}
}
})