您好有办法在fullcalendar中更改以下snipp的时间格式吗?
select: function(startDate, endDate) {
$.fancybox({
\'width\': \'40%\',
\'height\': \'40%\',
\'autoScale\': true,
\'transitionIn\': \'fade\',
\'transitionOut\': \'fade\',
\'type\': \'iframe\',
\'href\': \'test.php/?start=\'+startDate+\'&end=\'+endDate,
});
calendar.fullCalendar(\'unselect\');
}
我想要开始& EndDate是一个unix时间戳。
谢谢
答案 0 :(得分:0)
可以通过在FullCalendar中发送分离的Ajax请求来覆盖“start”和“end”参数来实现。