I don't really have use for this, but I must compliment the author on a job well-done. The code is well-structured, well-documented, well-tested, and well-designed.
Thank you! I was a technical writer before learning how to program, so it's important for me to write well-documented and well-tested code.
Doing so also allowed me to completely remove and replace my first attempt at implementing the moon phase algorithm when it turned out to be not-accurate enough (the values were off by about 4 hours).
I couldn't find it after a brief search. Maybe someone else remembers it.
https://www.robinsloan.com/notes/home-cooked-app/