Questions tagged [rrule]

A rrule is used in the iCal format to specify rules for recurring events.

A rrule is used in the iCal format to specify rules for recurring events. Its description can be found here: RFC 5545

241 questions
4
votes
0 answers

How can I exclude a range of datetimes from a dateutil rruleset?

I have an rruleset() that contains a base rrule: rset = rruleset() rset.rrule(rrule(SECONDLY, dtstart=start_date, interval=duration, until=end_date)) I would like to exclude a range of datetimes from this set. For example: I want to exclude any…
Brett C
  • 83
  • 4
4
votes
1 answer

Rrules and dayllght savings

I'm using rrule to create and store events in my database. All was working until I found that my recurring events had an one hour difference past the 31st march. In France, it's the day when we do a daylight saving time change. Actually, my events…
Kai23
  • 1,556
  • 2
  • 16
  • 30
4
votes
1 answer

ValueError: RRULE UNTIL values must be specified in UTC when DTSTART is timezone-aware

I've been trying to parse recurrence rules using python's dateutil rrule package However, I am getting an odd error inconsistent with the way I understand recurrence rules The error is ValueError: RRULE UNTIL values must be specified in UTC when…
rma
  • 1,853
  • 1
  • 22
  • 42
4
votes
5 answers

Get the week numbers between two dates with python

I'd like to find the most pythonic way to output a list of the week numbers between two dates. For example: input start = datetime.date(2011, 12, 25) end = datetime.date(2012, 1, 21) output find_weeks(start, end) >> [201152, 201201, 201202,…
Ludo
  • 2,307
  • 2
  • 27
  • 58
4
votes
1 answer

Getting excluded dates from recurrent events through Microsoft Outlook Calendar API

I am creating an event with recurrence in Outlook Calendar and want to retrieve its full specification through API. For example, the event repeats every weekend for a year. However, I removed some of the weekends from the time line, creating an…
4
votes
1 answer

iCalendar UNTIL rule must be of the same type as DTSTART property?

In iCalendar RFC 5545, section 3.3.10, I see the following UNTIL parameter description: The value of the UNTIL rule part MUST have the same value type as the "DTSTART" property. Furthermore, if the "DTSTART" property is specified as a date with…
IT Hit WebDAV
  • 5,652
  • 12
  • 61
  • 98
4
votes
2 answers

Syncing EKRecurrenceRules with Cloud Service RFC 2445 iCalendar specification RRULE

I'm trying to create a cloud based service which stores recurring Events. I have chosen to do this using the icalendar RRULE standards (RFC2445) and use a database schema as below exposed via cloud based…
4
votes
1 answer

How to recover python dateutil.rrule object from a dictionary string?

I want to store dateutil.rrule objects to a database and recreate them after reading from the database. Given the following issue, I think I need to use a workaround. Python dateutils print recurrence rule according to iCalendar format (see RFC…
Rohit Banga
  • 18,458
  • 31
  • 113
  • 191
4
votes
1 answer

RECURRENCE-ID in iCalendar (RFC 5545)

I'm a little bit confused about the Property RECURRENCE-ID in the iCalendar specification RFC 5545 and the RANGE parameter in this property. Assume a calendar component containing a recurring event called "Meeting" which shall be scheduled each…
0x5F3759DF
  • 283
  • 3
  • 9
3
votes
4 answers

Recurring events on a calendar : RFC 5545 Javascript parsing

I need to integrate recurring events into an adapted version of full-calendar that has an added javascript module which allows offline event browsing. I'm looking for a javascript library that can parse recurring events according to RFC 5545. I need…
wouter
  • 31
  • 1
  • 4
3
votes
2 answers

RRule Repeating monthly calendar event on weekday only

I have an recurring event on the 7th of each month but am struggling to find an RRule that I can put into a text editor and import into google calendar. I need the rule to put the event on the last week day if the 7th falls on a weekend. Thanks in…
David
  • 31
  • 2
3
votes
3 answers

How to generate the next six months?

I'm trying to create this template. Expect to receive September 30, 2022 or October 1, 2022 But I get the next year the same day! >>> datetime.today() datetime.datetime(2022, 3, 31, 9, 21, 49, 315991) >>> rrule.rrule(freq=rrule.MONTHLY, interval=6,…
Sh VavilenT
  • 337
  • 2
  • 9
3
votes
0 answers

how to show the dtstart and until using rrule plugin from daterange in fullcalendar 5

I am using fullcalendar 5 and when using eventClick i want to show the dtstart and until values from a recurrent event. I am using the rrule plugin. When i click on asingle event, this gives me the data from start: eventClick: function(info)…
john
  • 1,263
  • 5
  • 18
3
votes
0 answers

Convert CRON to RRULE for iCal calendar invite

In my application, I am creating meeting schedules based on Quartz cron format, which I am using to run some logic at meeting time by running scheduler. Here is the npm I am using for CRON creation.…
SKDroid
  • 101
  • 1
  • 9
3
votes
1 answer

Determining occurrences from iCalendar RRule that expands

I'm reading through RFC 5545 and trying to determine how to correctly find a set of occurrences. Let's say I have a WEEKLY rrule = 2 (every other week). I also have specified a BYDAY rule part for Tue, Wed, Thu. Let's assume my start date is…
heath
  • 1,047
  • 1
  • 14
  • 31
1 2
3
15 16