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
14
votes
3 answers

How to handle DST and TZ in recurring events?

Does dateutil rrule support DST and TZ? Need something similar to iCalendar RRULE. If not - how to tackle this problem (scheduling recurring events & DST offset change) Imports >>> from django.utils import timezone >>> import pytz >>> from datetime…
g00fy
  • 4,717
  • 1
  • 30
  • 46
11
votes
0 answers

Exclude calendar holidays from rrule before processing

I am using the rrule method from python-dateutil package. I would like to create a rule that can ignore dates that are within a holiday calendar. I know about the exdate() method but this seems to filter the date from the output list only it has…
Blair Azzopardi
  • 502
  • 8
  • 17
10
votes
3 answers

Looking for JavaScript lib that implements RRULE (iCalendar RFC 5545)

I am looking for a good iCalendar RFC 5545 processing library (open source / GPL compatible) that has been implemented in JaavScript. My current interest is a js library that fully implements the RRULE so that we can use our calendar web app offline…
Bill Caswell
  • 557
  • 1
  • 5
  • 15
10
votes
0 answers

How to match dateuilts.rrule and python icalendar daylightsavingtime aware

I'm dealing with some ical problems. I have an ical event. BEGIN:VEVENT UID:Event/termine/gps/akt@portal.augusta.de…
Estartu
  • 101
  • 4
10
votes
3 answers

Create a repeating event with reminder until specific day without Intent in Android?

I have an android app that downloads with a service some drugs info. For example (fludex white round 2 24-02-2012),means a drug named fludex ,white and round,must be given 2 times per day from today untill 24-01-2012. Now i want after drug info…
oikonomopo
  • 4,025
  • 7
  • 44
  • 73
9
votes
2 answers

How to query recurring appointments stored as iCal RRULE in a database table?

If I have a table of appointments with the following columns, how do i query the rrule to pull out appointments that occur on a specific date or between two dates? Appointments ------ id name dt_start dt_end rrule So for example lets say I have an…
adam78
  • 9,668
  • 24
  • 96
  • 207
9
votes
2 answers

rrule for repeating monthly on the 31st or closest day

How would you specify a rrule for an event on the 31st day of the month (or 30th, or 29th) that recurs every month, where if the month doesn't have enough days it picks the closest (i.e. for February it would pick the 28th or 29th, for April it…
arolson101
  • 1,473
  • 15
  • 29
9
votes
3 answers

Python dateutils print recurrence rule according to iCalendar format (see RFC 5545)

I am trying to print a recurrence rule as a string specified by iCalendar format (see RFC 5545). Im using python dateutils, in particular dateutil.rrule to create the recurrence rule and I want to print this as a string like: …
8
votes
2 answers

Google Calendar API, RRULE and EXDATE

I'm trying to export some events to Google Calendar with the API, specifically the python library that wraps it. These events have recurrence, which is defined to Google Calendar with an RRULE string, and I'm trying to exclude certain dates with…
fishsticks
  • 703
  • 1
  • 6
  • 16
7
votes
1 answer

rrule.js - Recurrence series changes time of day in time zone after Daylight Savings

I have what seems like a very common use case: I want to have a recurring event that occurs at the same time each day in a specific time zone (in the example below, 6:00 AM in the America/Denver time zone). I want this to recur at the same time of…
fenix.shadow
  • 402
  • 4
  • 9
7
votes
1 answer

events with rrule plugin is not updating after drag/drop on change view grid fullcalendar v4

I am currently working on Fullcalendar v4 with rrule plugin I have this code var calendarEl = document.getElementById('calendardemo'); var calendar = new FullCalendar.Calendar(calendarEl, { plugins: ['interaction', 'dayGrid', 'timeGrid',…
Mark Salvania
  • 486
  • 3
  • 17
6
votes
1 answer

rrule to get the 2nd Monday, Wednesday and Friday of the month, for every month

I am trying to create a rrule for my fullcalendar event, that occur on the 2nd Monday, Wednesday and Friday of the month for every month. Here is the rrule I have tried RRULE:FREQ=MONTHLY;COUNT=10;INTERVAL=1;WKST=SU;BYDAY=MO,WE,FR;BYSETPOS=2 events:…
Nash
  • 75
  • 6
5
votes
1 answer

iCalendar (RFC5545) recurrence rule multiple times a day

How can I make an event occur multiple times a day using the RRULE specified in RFC5545? Lets say I would like an event to happen every other week on Monday and Friday at 11AM and 18PM. Is it possible to format the RRULE like something as the…
cooxie
  • 2,934
  • 5
  • 18
  • 17
5
votes
1 answer

rrule: Using TZID without Luxon available is unsupported

I have a very simple project, using the rrule package: npm init -f npm i rrule index.js file: import { RRule, RRuleSet, rrulestr } from 'rrule'; const rule = RRule.fromString( "DTSTART;TZID=America/Denver:20181101T190000;\n" +…
Nick Bull
  • 9,518
  • 6
  • 36
  • 58
5
votes
3 answers

Importing RRule from rrule package in TypeScript. Getting SyntaxError: The requested module 'rrule' is expected to be of type CommonJS

Update: Tried to create a minimal repro here: https://github.com/aioobe/node-issue-repro. It's very stripped down obviously, but it exhibits the same error message. git clone git@github.com:aioobe/node-issue-repro.git cd node-issue-repro npm…
aioobe
  • 413,195
  • 112
  • 811
  • 826
1
2 3
15 16