changeMonth has three params. They are start, end, current. The values of param start and param end are wrong.
I console these values like below:
console.log('changeMonth' + "==" + start + "==" + end + "==" + current);
when I change the month to Nov.
changeMonth==2017-10-22==2017-12-02==2017-11-01
accually they should be changeMonth==2017-10-29==2017-12-02==2017-12-09,
but when I change the month to Oct.
changeMonth==2017-10-01==2017-11-11==2017-10-01
they are correct.
but when I change the month to Sept.
they are also wrong.
changeMonth==2017-08-20==2017-09-30==2017-09-01
changeMonth has three params. They are start, end, current. The values of param start and param end are wrong. I console these values like below: console.log('changeMonth' + "==" + start + "==" + end + "==" + current); when I change the month to Nov. changeMonth==2017-10-22==2017-12-02==2017-11-01
accually they should be changeMonth==2017-10-29==2017-12-02==2017-12-09,
but when I change the month to Oct. changeMonth==2017-10-01==2017-11-11==2017-10-01 they are correct. but when I change the month to Sept. they are also wrong. changeMonth==2017-08-20==2017-09-30==2017-09-01