shevakuilin/SKCalendarView

bug

wen644 opened this issue · 2 comments

  • (void)setCheckLastMonth:(BOOL)checkLastMonth
    {
    _checkLastMonth = checkLastMonth;
    if (checkLastMonth == YES) {
    self.selectedRow = -1;// 重置已选日期
    NSInteger hours = (self.calendarManage.days - 1) * -24;
    NSDate * date = [NSDate dateWithTimeInterval:hours * 60 * 60 sinceDate:self.theDate];
    [self.calendarManage checkThisMonthRecordFromToday:date];
    self.theDate = date;
    self.monthBackgroundLabel.text = [NSString stringWithFormat:@"%@", @(self.calendarManage.month)];
    [self.calendarCollectionView reloadData];
    [self reloadExternalDate];
    }
    }

20170825111440

抱歉这么久才回复,请问具体的问题是什么?

看图12 月 2017年2月 2月,数据不对了