我有angularjs完整的日历。当我在日程安排日期填充日历时显示红线,但是当我下个月像MAY一样去回到四月时,有些日期是隐藏的。有谁知道如何解决这个问题?
appendScheduleToCalendar(schedule_entry) {
var event = {};
event.start = new Date(schedule_entry.sch_start);
event.end = new Date(schedule_entry.sch_end);
event.title = schedule_entry.title;
if (schedule_entry.available) {
event.className = ['cal_available'];
} else {
event.className = ['cal_unavailable'];
}
//event.sch_type = schedule_entry.sch_type;
event._id = schedule_entry._id;
this.eventSources[0].push(event);
}