【问题标题】:Fullcalendar - Events with 00Fullcalendar - 00 事件
【发布时间】:2014-07-09 11:46:02
【问题描述】:

事件的文本前有 00 (00myeventname)。

这是我的代码:

$('#calendar').fullCalendar({ //re-initialize the calendar
     header: h,
     buttonIcons: false, // show the prev/next text
     editable: false,
     droppable: false,
     lang: 'pt',
     events: 'http://nameit.pt/pontotestes/calendarevents'
});

你能帮帮我吗?

【问题讨论】:

  • 您需要什么帮助?你有什么问题?
  • 如何删除 00?为什么 fullcalendar 显示 00?
  • 您需要提供更多背景信息,我们才能为您提供帮助。请同时提供相应的 HTML 代码。
  • 问题是事件的标题在开头是00。

标签: javascript jquery fullcalendar


【解决方案1】:

万一有人再次点击它。您必须在选项中将 timeFormat 设置为空字符串:

timeFormat: ''

或者简单地将事件数据设置为:

allDay: true

看到这个: http://fullcalendar.io/docs/text/timeFormat/

【讨论】:

    猜你喜欢
    • 2012-03-10
    • 2015-03-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-02
    • 2019-05-18
    相关资源
    最近更新 更多