8/17/2026 at 8:03:00 PM
Author of suncalc (the JS library behind the sun calculations) here — happy to see such a nice application of it! Heads up if the author's reading this — I recently released a major overhaul of the library that makes it a lot more precise: https://github.com/mourner/suncalcby mourner
8/18/2026 at 1:05:14 PM
I just used Suncalc yesterday to add Sunrise/Sunset and Golden Hour to my PebbleOS NOAA Radar watchface[1]. Thank you for an amazing library; It's the first that I reach for every time I have a project with this need.by xd1936
8/18/2026 at 4:42:51 AM
Author of Sun Clock here — thanks for the library! I'll check out the new release soon and update.by perilunar
8/20/2026 at 10:20:54 AM
Dumb question, but what does the green hand denote?by wyclif
8/20/2026 at 1:00:25 PM
The green hand is the minutes hand.by perilunar
8/18/2026 at 2:05:17 PM
It would be nice if I could just put a postal code inby lokar
8/18/2026 at 2:13:20 PM
I am working on a clock app that keeps time the Roman Empire way (every day has twelve hours that start at sunrise and end at sunset, so the duration of each hour changes slightly each day), so this library would be extremely helpful. Thank you!by prometheus76
8/17/2026 at 8:32:45 PM
what sorts of background texts/sources of info did you use?edit: i think i have the dover book your readme mentions :)
by carterschonwald
8/17/2026 at 8:44:13 PM
Initially (about 15 years ago - it was my first ever open source library!) it was based on Astronomy Answers articles that are thankfully still live at https://www.aa.quae.nl/en/reken/zonpositie.html, but v2.0 specifically was rewritten to use the approach described in Jean Meeus' Astronomical Algorithms book.by mourner
8/18/2026 at 1:03:14 AM
I did a similar one recently but have not been able to validate it's calculations against any other source. Thanks for posting the link to yours when I get time I'll compare and see if they match up. https://git.mikedilger.com/mikedilger/sunangleby decoding