How can I set the titleFormat so that title of the calendar would look something like 1/9/2017 - 1/13/2017 (no saturday and sunday only monday through friday) Currently my calendar looks like this at the start and title looks like 1/9 – 15/2017 (which is not what i want)
$('#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
}
},
Please assist.