9miao/CrossApp

CADatePickerView.cpp #BUG#

Opened this issue · 0 comments

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)....