Hi all,
I am trying to convert my own database to ical format, and since I
already read my own stuff with Ruby, what would be easier than to use
a Ruby tool to write ical format :)
I have trouble with the recurrences, though. With code like:
event.add_rrule "FREQ=WEEKLY"
event.recurrence_rules << "INTERVAL=2"
or
event.add_rrule "FREQ=WEEKLY"
event.add_rrule "INTERVAL=2"
I get dumps like:
RRULE:FREQ=WEEKLY\,INTERVAL=2
According to the RFC, I''d expect
RRULE:FREQ=WEEKLY;INTERVAL=2
So either I don''t understand how to use the icalendar API, or it is a
bug.
Also, I read you''re working on making those rules into a class of
their own. How''s that coming along? I would be happy to write
rrule.until = Date.today
instead of
rrule << "UNTIL=#{Date.today.to_ical}"
PS: Evolution ignored RRULE:freq=WEEKLY, isn''t ical case insensitive?
+--- Kero ---------------------------------- kero at chello@nl ---+
| |
+--- M38c ------------ http://members.chello.nl/k.vangelder ---+