小编Gab*_*iel的帖子

Fullcalendar显示错误的每月视图

我在Asp.Net项目中使用Fullcalendar,我正在使用"事件"功能来刷新日历中的项目.

我在myArray中放置事件以在回调函数中传递它,如下所示:

var event = {
                title: 'Disponível',
                start: moment(horario.DtInicio),
                end: moment(horario.DtFim),
            }
myArray.push(event);
Run Code Online (Sandbox Code Playgroud)

其中horario.DtIniciohorario.DtFim是Asp.Net json日期(例如"/Date(1423321200000)/")

当我在月视图中显示callendar时,此日期显示在2015年6月6日(mm/dd/yyyy),但是当我切换到其他视图时,此事件显示在2015年7月2日.实际日期是2015年7月2日.

有没有人遇到过这种情况?

fullcalendar jscript

4
推荐指数
1
解决办法
2015
查看次数

标签 统计

fullcalendar ×1

jscript ×1