Closed rotkehlxen closed 1 year ago
I started to work on the moon phase calculation and currently support only full & new moon and first and last quarter. I'm using the matching unicode characters in the event summary - although a first quarter moon looks like a last quarter moon on the southern hemisphere and vice versa. I don't think its worth going into all these subtleties, in particular as the partially lit moon constantly changes it look when moving from the northern hemisphere across the equator towards the southern hemisphere and its out of scope of this project to account for this.
I created all-day events for the moon phase. There is one issue with all-day events: They show up in the browser view of my calendar, but not on my android phone google calendar app :-( This seems to be a bug ...
I have found a solution for the event not showing on my phone: https://stackoverflow.com/questions/70949246/all-day-events-added-to-a-calendar-from-a-service-account-appear-on-the-google-c We have to set the end date of an all-day event to the start date + 1 day. It makes no sense - but it works!
Resolved with https://github.com/rotkehlxen/suncal/pull/55
Moon phases are nice to have. 🌑 🌒 🌓 🌔 🌕 🌖 🌗 🌘 🌑 I think the full set clutters the calendar a bit too much, so for a start we could offer full moon, first quarter, last quarter and new moon. Also, the phases look slightly different on different places on earth, so we have to consider that as well.