Hi, for those that need to calculate the sun or moon's position, their rise and set time as well as dawn and dusk times (civil, nautical or astronomical), I implemented a small MIT-licensed module: https://github.com/dschaadt/astro. It's my first nim module, so if I find some bugs or things that could be done better, please let me know.