Skip to content

mxm, IT's mad science

Sections
Personal tools
You are here: Home » Products » Open Source » iCalendar package » Found fix
Downloads
You can download mxm products here.

Due to it's technical and international nature, this section is in english.

Max M Has a blog too.

og er glad for mad

 

Comment

Above in this comment thread: iCalendar package for Python » Recurrencies... » icalendar error

Found fix

Posted by Anonymous User at 2007-10-08 11:18 PM
The fix is in prop.py line 920:

def parse_type(key, values):
# integers
parser = vRecur.types.get(key, vText)
return [parser.from_ical(v) for v in values.split(', ')]
parse_type = staticmethod(parse_type)

Should be a ', ' instead of a ',' I'll submit a patch as well

Thanks for fix

Posted by Anonymous User at 2007-12-18 06:14 AM
Thank you for posting this, since it does not yet appear to be added. I'm now stuck on an error when reading an iCal file with a line like:
RRULE:FREQ=MONTHLY;COUNT=4;INTERVAL=3;BYDAY=1 TU;WKST=SU
ie occurs on the first Tuesday of every third month for four instances.