Displaying 1 result from an estimated 1 matches for "icalendar_ev".
2008 Sep 04
1
Timezone support?
...ied a little experiment to compare how both the vpim and icalendar
gems handle such time specifications. Here''s my code:
require ''rubygems''
require ''icalendar''
require ''date''
require ''vpim''
icalendar_events = []
vpim_events = []
File.open("/Users/rick/Testing.ics") do | ical_file |
calendar = Icalendar::Parser.new(ical_file).parse.first
icalendar_events = calendar.events.to_a
end
File.open("/Users/rick/Testing.ics") do | ical_file |
cal...