我想申請在fullcalendar這兩個變化:扭捏作fullcalendar軸時間格式和隱藏事件時間
軸的時間格式,如:10:00-11:00,11:00-12:00 ,12:00-13:00 ...等等。
隱藏事件時間只顯示事件名稱
檢查管理單元我已經申請軸格式
代碼:
jQuery('#fullcal').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
timeFormat: 'H:mm{-H:mmtt }',
axisFormat: 'H:mm - H:mm',
events: [
{
title: "<?php echo "Booked"; ?>",
start: new Date(<?php echo "$date, $start"; ?>),
end: new Date(<?php echo "$date, $end"; ?>),
allDay: false,
backgroundColor : "#1FCB4A",
textColor: "black",
},
],
});
代碼axisFormat: 'H:mm - H:mm',
重複同一時間。
而且在事件11:00 - Test
,我只想要顯示的事件名稱測試,如果我評論start:
和end:
這個就fullcalendar消失事件。
請幫我在fullcalendar添加此變化。謝謝。
,我發現CSS的調整活動時間:'.fc-事件 - 時間{display:none; },現在需要幫助修改軸時間格式。 – Frank