These docs are for an old release.
Info on upgrading to v4
Duration Object
Durations objects are used to represent:
- lengths of time (ex: defaultTimedEventDuration)
- differences between two dates (ex: eventDrop)
- times that are not bound to a particular day (ex: scrollTime)
This functionality is provided by MomentJS, a third-party open-source library.
See the MomentJS Duration docs »
In FullCalendar’s API, most options that accept Durations also conveniently accept anything that the moment.duration
constructor accepts, including the following:
"23:59" // hours/minutes
"23:59:59" // hours/minutes/seconds
"1.23:59:59" // days/hours/minutes/seconds
{ days:1, hours:23, minutes:59 } // an object