Legacy docs (v1–v6)
These docs are for an old release. View the v7 docs
edit doc view .md

allDayMaintainDuration

Determines how an event’s duration changes when it’s dragged between timed and all-day sections.

true or false (the default)

When true, the duration will remain roughly the same before and after it is dragged to/from an all-day section. “Roughly” because if an event has a duration with hourly precision, it will be rounded down to the nearest whole-day.

When false, the default, the event’s duration will be reset to defaultAllDayEventDuration (probably one day) if it is being dropped in an all-day section or defaultTimedEventDuration (probably one hour) if it is being dropped in a timed section.