【发布时间】:2017-01-11 14:44:29
【问题描述】:
如何设置 titleFormat 以便日历的标题看起来像 2017 年 1 月 9 日 - 2017 年 1 月 13 日(没有周六和周日,只有周一到周五) 目前我的日历在开始时看起来像这样,标题看起来像 1/9 – 15/2017(这不是我想要的)
$('#calendar').fullCalendar({
header: {
left: 'prev title next today',
right: ''
},
weekends: false,
titleFormat: "M/D/Y",
editable: false,
firstDay: 1,
disableDragging: true,
displayEventEnd: true,
views: {
week: {
type: 'basicWeek',
duration: {
days: 7
},
columnFormat: 'dddd M/D/Y'// Format the day to show full weekday and its date
}
},
请帮忙。
【问题讨论】:
标签: javascript fullcalendar title