您好,有没有办法在完整日历中更改以下代码片段的时间格式?
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\');
}我希望Start & EndDate是一个unix时间戳。
谢谢
发布于 2013-06-28 14:33:52
它可以通过在FullCalendar中发送单独的Ajax请求来覆盖"start“和"end”参数来实现。
看一下这个类似的主题:add custom params to fullcalendar request
https://stackoverflow.com/questions/17336482
复制相似问题