Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support RRULE standard #18

Open
leog opened this issue Oct 21, 2022 · 0 comments
Open

Support RRULE standard #18

leog opened this issue Oct 21, 2022 · 0 comments

Comments

@leog
Copy link

leog commented Oct 21, 2022

It would be awesome if this plugin could support RRULE standard to be able to pass down the RRULE string and operate with the correspondent generated recurring events.

For example:

// Create a recurrence using today as the start date.
const recurrence = dayjs().recur("FREQ=DAILY;INTERVAL=2;COUNT=4");
// Or
const recurrence = dayjs().recur({
  freq: "DAILY",
  interval: 2,
  count: 4
});
// Outputs: ["2022-10-21T13:50:00.000Z", "2022-10-23T13:50:00.000Z", "2022-10-25T13:50:00.000Z", "2022-10-27T13:50:00.000Z"]
const allDates = recurrence.all();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant