repeat_precise

prevents including past days to events with the 'weekly' recurrence

boolean repeat_precise;

Example

scheduler.config.repeat_precise = true;

Required extension: ext/dhtmlxscheduler_recurring.js

Default value:

false
Details

By default, when the user specifies the 'weekly' recurrence, the scheduler includes the current week to this recurrence, regardless of whether the user creates an event after, between or before the included day(s).

For example, the user creates an event on Thursday and sets the 'weekly' repetition on Monday and Wednesday. The saved event will contain the current week, i.e. the past Monday and Wednesday, even though it has been created on Thursday.

If you set the repeat_precise option to true, the start date of a recurring event will be the date of the first real occurrence, i.e. in our example it will be Monday of the next week.

See also
Back to top