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
5
votes
1 answer

Angular 9: Cannot find namespace 'FullCalendarVDom'?

I installed rrule plugin by running: npm install @fullcalendar/rrule but when I add its import to my component: import dayGridPlugin from '@fullcalendar/daygrid'; import timeGridPlugin from '@fullcalendar/timegrid'; import interactionPlugin from…
Peyman Kheiri
  • 397
  • 6
  • 22
5
votes
1 answer

How to embed RRULE JS Library in VMWare VRO task

I'm trying to create a custom action in VMWare VRO which uses JS for its scripting logic. I'm trying to embed two libraries into a single code block so I can use them. Unfortunately, VRO doesn't use includes or the concept of libraries per se so it…
rsaturns
  • 181
  • 1
  • 18
5
votes
3 answers

How to parse an iCal RRULE in Java

I have the following iCal recurrence rule examples: "RRULE:FREQ=YEARLY;INTERVAL=2" "RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=TU,WE,TH" I need a Java library to parse the RRULE patterns to handle in an object. Are there any good Java libraries? ical…
Sergii
  • 7,044
  • 14
  • 58
  • 116
5
votes
1 answer

How to find frequency from a RRULE in Python?

I am trying to find the frequency of a calendar event from a Google Calendar event. I know that dateutil.rrule.rrulestr has a few methods to parse RRULE. But I have am not aware of a method that can return the frequency of the event. Any help or…
5
votes
1 answer

How to specify an RRule taking into account daylight savings time?

I'm trying to use python-dateutil to create a rrule to schedule an event to run every day at exactly 6PM EST. The current rrule I'm using is simply: byhour:23; this renders to 6PM during non-daylight savings time, but during daylight savings time…
Cerin
  • 60,957
  • 96
  • 316
  • 522
5
votes
2 answers

dateutils rrule returns dates that 2 months apart

I am new to Python and also dateutil module. I am passing the following arguments: disclosure_start_date = resultsDict['fd_disclosure_start_date'] disclosure_end_date = datetime.datetime.now() disclosure_dates = [dt for dt in rrule(MONTHLY,…
DrBug
  • 2,004
  • 2
  • 20
  • 21
5
votes
2 answers

iCalendar Spec RRULE Multiple Times?

I'm developing some software which interfaces with the Google Calendar API, and one feature my users will be able to take advantage of is setting multiple event times for a single "class" (i.e. the class is 2-5 on some days and 3-6 on others). Is…
ccrama
  • 724
  • 1
  • 8
  • 23
5
votes
2 answers

Can RRule descirbe an event that occurs at two specific times each day?

Let's say I have an event that occurs at 7:00 and 2:00pm each day. The RRule would look like this: FREQ=DAILY;BYHOUR=10,14 If I wanted an event that occurs at 10:00am and 2:30pm, I would assume it would look like…
Ben Davis
  • 13,112
  • 10
  • 50
  • 65
5
votes
1 answer

jQuery interface for creating ics valid repeating rules (rrule)

Looking for an interface for creating ics valid RRULE strings, similar to Google Calendar's. Most of the calendars I've looked at handle ics RRULEs pretty similar and their interfaces are nearly identical. Would like to use an open source solution…
Brandon
  • 1,997
  • 3
  • 24
  • 33
4
votes
1 answer

How to generate a human-readable string that represents a rrule object?

My app allows users define scheduling on objects, and they is stored as rrule. I need to list those objects and show something like "Daily, 4:30 pm". There is something available that "pretty formats" an rrule instance?
Armando Pérez Marqués
  • 5,661
  • 4
  • 28
  • 45
4
votes
0 answers

iCalendar Recurrence Rule to Human Readable Text - Localization for CJK Languages

So far, all online libraries that I've found, offer functionality for converting Rrule strings to human readable strings for the English language only. I tried to modify the code from the Rrule Package (Flutter) (which is mainly based on rrule.js)…
goldensoju
  • 606
  • 1
  • 6
  • 14
4
votes
1 answer

Fullcalendar recurring event is shifted for the day before

This is the situation we are having. User is in Pacific Time zone and wants to create recurring event: start date: 11/22/2021 end date: 11/29/2021 start time: 6:30pm end time: 8:30pm recurring days: Monday, Thursday frequency: weekly Fullcalendar…
4
votes
1 answer

No dtend as rrule parameters?

I'm trying to find with a dateutil.rrule the first match before a given datetime. ATTEMPT 1 : My first attempt was : dtstart = datetime(2010, 1, 1, 0, 00) myRule = rrule(freq=WEEKLY, dtstart=dtstart) result = myRule.before(dtstart) It doesn't work,…
Morgan
  • 589
  • 9
  • 20
4
votes
3 answers

How to exclude date in RRule.js?

Suspected code: // Create a rule: const rule = new rrule.RRule({ freq: rrule.RRule.DAILY, dtstart: new Date('{{ date('Y-m-d',…
ForWebTech
  • 140
  • 1
  • 13
4
votes
1 answer

dateutil.rrule.rrule.between() gives only dates after now

From the IPython console: In [16]: b Out[16]: datetime.datetime(2008, 3, 1, 0, 0) In [17]: e Out[17]: datetime.datetime(2010, 5, 2, 0, 0) In [18]: rrule(MONTHLY).between(b, e, inc=True) Out[18]: [datetime.datetime(2009, 3, 6, 14, 42, 1), …
chriss
  • 4,349
  • 8
  • 29
  • 36
1
2
3
15 16