Skip to content

@eightkk/vue-weave / core / formatRecurrenceRule

Function: formatRecurrenceRule() ​

formatRecurrenceRule(rule, options?): string

Defined in: src/core/recurrence.ts:322

Write a RecurrenceRule as RRULE text without the RRULE: prefix, in the order FREQ, COUNT or UNTIL, INTERVAL, BYMONTH, BYMONTHDAY, BYDAY, BYSETPOS and WKST. UNTIL is written in UTC (20261231T235959Z, whole seconds rounded down), or with allDay as the local date of until in options (default UTC). Throws like parseRecurrenceRule for an invalid rule.

Parameters ​

rule ​

RecurrenceRule

options? ​

RecurrenceZoneOptions & object = {}

Returns ​

string

Released under the MIT License.