Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CADatePickerView.cpp #BUG# #104

Open
chuanxian396 opened this issue Sep 5, 2015 · 0 comments
Open

CADatePickerView.cpp #BUG# #104

chuanxian396 opened this issue Sep 5, 2015 · 0 comments

Comments

@chuanxian396
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant