ical2csv
ical2csv copied to clipboard
TypeError when converting to csv
I exported my ical calendar and then tried to use ical2csv and got the following error:
Traceback (most recent call last):
File "ical2csv.py", line 90, in
I have a feeling some of the latest changes/fixes in ical2txt.py will fix this. I'll have a look soon.
Okay, I have a pull request pending that fixes this, as well as bringing feature parity between ical2csv and ical2txt. It seems some events, probably all day events, return datetime.date instead of datetime.datetime objects. I have implemented a check where I can convert these to datetime.datetime, and tested on years of calendar events. Seems to work fine now.