user1656817 user1656817 - 1 year ago 91
Python Question

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:


Can anyone tell me if there is a method to achieve this?

I think I'm using the labix dateutils btw.

Many thanks!

Answer Source

There is no method or function in the python-dateutil package to do this. See this bug for a patch that may help:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download