question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Learning python dateutil rrule and how it applies to the params field in events is a bit daunting.

Any chance you can post here some common examples?

Possible Simple Rules:

  • Event repeats Monthly
  • Event repeats Weekly
  • Event repeats Daily
  • Event repeats Hourly

Possible more complex examples:

  • Event repeats weekdays (M,T,W,T,F)
  • Event repeats 3x a day on Monday and Wednesday

Thoughts?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
llazzarocommented, Oct 26, 2022

Please provide a PR and I will be happy to merge this.

1reaction
ricosalomarcommented, Feb 18, 2020

Here are some examples: [ { “model”: “<app>.rule”, “pk”: 2, “fields”: { “name”: “Weekly”, “description”: “Weekly”, “frequency”: “WEEKLY”, “params”: " " } }, { “model”: “<app>.rule”, “pk”: 3, “fields”: { “name”: “Monthly”, “description”: “Monthly”, “frequency”: “MONTHLY”, “params”: " " } }, { “model”: “<app>.rule”, “pk”: 4, “fields”: { “name”: “Every 2 weeks”, “description”: “Every 2 weeks”, “frequency”: “WEEKLY”, “params”: “INTERVAL:2” } }, { “model”: “<app>.rule”, “pk”: 5, “fields”: { “name”: “Every weekday”, “description”: “Every weekday”, “frequency”: “DAILY”, “params”: “BYWEEKDAY:0,1,2,3,4” } }, { “model”: “<app>.rule”, “pk”: 6, “fields”: { “name”: “Every Saturday”, “description”: “Every Saturday”, “frequency”: “DAILY”, “params”: “BYWEEKDAY:SA” } }, { “model”: “<app>.rule”, “pk”: 7, “fields”: { “name”: “Every Sunday”, “description”: “Every Sunday”, “frequency”: “DAILY”, “params”: “BYWEEKDAY:SU” } }, { “model”: “<app>.rule”, “pk”: 8, “fields”: { “name”: “Quarterly”, “description”: “Quarterly”, “frequency”: “MONTHLY”, “params”: “INTERVAL:3” } }, { “model”: “<app>.rule”, “pk”: 10, “fields”: { “name”: “Daily”, “description”: “Daily”, “frequency”: “DAILY”, “params”: " " } } ]

Read more comments on GitHub >

github_iconTop Results From Across the Web

rrule.js demo
rrule.js demo. This is a demo and test app for rrule.js , a JavaScript library for working with recurrence rules for calendar dates....
Read more >
rrule — dateutil 2.8.2 documentation - Read the Docs
For example, when using YEARLY, an interval of 2 means once every two years, but with HOURLY, it means once every two hours....
Read more >
rrule examples - CodeSandbox
Rrule Examples. Learn how to use rrule by viewing and forking example apps that make use of rrule on CodeSandbox.
Read more >
The Deceptively Complex World of RRULEs in Calendar ...
The key to any repeating event is the recurrence rule, a way of describing how that event repeats. These are also referred to...
Read more >
3.8.5.3. Recurrence Rule | iCalendar (RFC 5545)
For example, recurrence instances of a nominal duration of one day will have an exact duration of more or less than 24 hours...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found