Javascript Fullcalendar将在下个月显示事件,我如何修复此问题?

Javascript Fullcalendar将在下个月显示事件,我如何修复此问题?,javascript,jquery,fullcalendar,Javascript,Jquery,Fullcalendar,这是我在完整日历中的开始日期 start: new Date('2016', '02', '07', 00, 30) 但在加载日历时,此事件显示在2016年3月7日 如何解决此问题?在使用日历时,您将始终累计一个月 在您的案例中:开始:新日期('2016','01','07',00,30) 假设您的月份从0开始 var month = new Array(); month[0] = "January"; month[1] = "February"; .... month[11] = "

这是我在完整日历中的开始日期

start: new Date('2016', '02', '07', 00, 30)
但在加载日历时,此事件显示在2016年3月7日
如何解决此问题?

在使用日历时,您将始终累计一个月

在您的案例中:开始:新日期('2016','01','07',00,30)

假设您的月份从0开始

var month = new Array();

month[0] = "January";

month[1] = "February";

....

month[11] = "December";

你可以参考这个简单的例子:

在使用日历时,你总是要加一个月

在您的案例中:开始:新日期('2016','01','07',00,30)

假设您的月份从0开始

var month = new Array();

month[0] = "January";

month[1] = "February";

....

month[11] = "December";

你可以参考这个简单的例子:

使用“03”而不是“02”来表示月份?我希望它应该是01对@webo80i也这样做了。谢谢这个月用“03”而不是“02”?我希望它应该是01对的@webo80i也这样做了。谢谢