【问题标题】:Split day agenda in full calendar into 15-minute slots将完整日历中的每日议程分成 15 分钟的时段
【发布时间】:2016-03-14 01:10:44
【问题描述】:
$('#calendar').fullCalendar({
      header: {
        left: 'prev,next today',
        center: 'title',
        right: 'month,agendaWeek,agendaDay'
      },
      buttonText: {
        today: 'today',
        month: 'month',
        week: 'week',
        day: 'day'
      },
      //Random default events
      events : <?php echo json_encode($events1);?>,

      editable: true,
      droppable: true, // this allows things to be dropped onto the calendar !!!
      drop: function (date, allDay) { // this function is called when something is dropped

我需要分成 15 分钟的间隔。默认是 30 分钟的时段。我该如何实现它提前谢谢你

【问题讨论】:

    标签: javascript php split fullcalendar


    【解决方案1】:

    【讨论】:

    • 请您回复我是日历新手,这似乎是解决方案,但我不知道该在哪一部分提出任何想法?
    • @HenriSula 只需添加属性slotDuration: '00:15:00'
    猜你喜欢
    • 1970-01-01
    • 2015-08-15
    • 1970-01-01
    • 2021-08-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多