Does this pull the times from an online service or are they calculated locally? I tried to read the code to work it out but I don't program in Go so I got a little lost
replies(1):
Now I've written a terminal app for this (Mac/Linux)
Features: a colorful summary of daylight times for your location; projected change over the coming days; handles NO_COLOR and a ---short flag if you dislike the output format.
The location is IP-based but you can override this if you're on a VPN. Just create a terminal alias with the --loc flag. The app supports areas in the arctic / antarctic circle too.
Check our the repository for a preview and instructions on how you can install it with Homebrew.
(There is a Windows build but it's not yet tested)
You can also override the Timezone with `--timezone` (passing an IANA timezone e.g. America/New_York).