Wanderxx / vue-fullcalendar

vue calendar fullCalendar. no jquery required. Schedule events management
https://wanderxx.github.io/vue-fullcalendar/
1.51k stars 387 forks source link

changeMonth event does not give the right dates to fill the calendar #33

Open lunfel opened 7 years ago

lunfel commented 7 years ago

You can see that the parameters captured from the chrome dev tools do not match the calendar layout. I took the parameters as is and sent it in an internal api call. These are the original values from the changeMonth callback.

Some month works properly, some other don't. Seems to work for January 2017, but December 2016 does not seem to work.

December wrong values https://postimg.org/image/ua91006fp/

I know it has something to do with this part of the code, but I am not sure how to fix it or to test it. https://github.com/Wanderxx/vue-fullcalendar/blob/master/src/components/header.vue#L69