9miao / CrossApp

Cross-Platform Mobile APP Development Engine
MIT License
835 stars 421 forks source link

CADatePickerView.cpp #BUG# #104

Open chuanxian396 opened 9 years ago

chuanxian396 commented 9 years ago

CADatePickerView.cpp 将406行代码移到398行后面。 398: int tem_day = CACalendar::create()->_dayCountOfMonth(m_tTM.tm_year+1900,m_tTM.tm_mon); 399:m_tTM.tm_mon--;//这句话要放在此处。不然会引起后面月数变成13,导致越界 if (m_tTM.tm_mday>tem_day)....