rjhorniii / ical2org

Convert a calendar in ICal format (e.g., .ics) into org-mode structure
GNU General Public License v3.0
55 stars 15 forks source link

Huge file improperly converted #2

Closed rjhorniii closed 6 years ago

rjhorniii commented 6 years ago

A very large test file with 91596 calendars, mostly with one event per calendar, generates 5027 events, many of which are duplicates. The chan processing is suspect.

rjhorniii commented 6 years ago

Problem is not with channels. It's with the handling of repeating events and events that span multiple days.

Multi-day events were an easy fix.

At present, repeating events are perhaps fixed. Each repeat is converted into individual org-mode events with the same ORGUID. This still needs some work.

rjhorniii commented 6 years ago

Fixed the problem with commit 21b111b

Usage for parse.go was incorrect. Corrected the usage and added an option for repeating events.