I was using this calendar via http://icalshare.com/calendars/6978 and saw some dates were incorrect but fixed on seasky.org. So I wanted to get the script running again and cleaned it up for use with Python 3 and pipenv.
The years are changed to 2020-2030 since I personally don't need the old ones anymore.
I also saw this now includes the actual times for some events, but they were incorrect because the timezone was hard-coded to Europe/Amsterdam while the actual times were in UTC. After removing that the events now show up correctly in Google Calendar, with the 1-hour padding before and after.
Not sure if you want to merge this, but I figured I'd at least post the PR in case others are looking for corrections :grinning:
I was using this calendar via http://icalshare.com/calendars/6978 and saw some dates were incorrect but fixed on seasky.org. So I wanted to get the script running again and cleaned it up for use with Python 3 and
pipenv
.The updated .ics file is available from https://raw.githubusercontent.com/toupeira/AstroCalendar/master/AstroCalendar.ics.
The years are changed to 2020-2030 since I personally don't need the old ones anymore.
I also saw this now includes the actual times for some events, but they were incorrect because the timezone was hard-coded to
Europe/Amsterdam
while the actual times were in UTC. After removing that the events now show up correctly in Google Calendar, with the 1-hour padding before and after.Not sure if you want to merge this, but I figured I'd at least post the PR in case others are looking for corrections :grinning: