Fullcalendar 将IETF格式更改为unix时间戳
嗨,有没有办法在fullcalendar中更改以下SNIP的时间格式Fullcalendar 将IETF格式更改为unix时间戳,fullcalendar,Fullcalendar,嗨,有没有办法在fullcalendar中更改以下SNIP的时间格式 select: function(startDate, endDate) { $.fancybox({ \'width\': \'40%\', \'height\': \'40%\', \'autoScale\': true, \'transitionIn\': \'fade\', \'transitionOut\': \'fad
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\');
}
我希望开始和结束日期是unix时间戳
谢谢可以通过在完整日历中发送单独的Ajax请求来覆盖“开始”和“结束”参数来实现 看看这个类似的线索: