src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

commit e84e487764f5edbe8667ced56e7a5884f8d7e1d4
parent dc3e5acc59f3c37a86098aa9484e28efd0d49010
Author: dwrz <dwrz@dwrz.net>
Date:   Wed, 28 Feb 2024 11:54:32 +0000

Add sun duration

Diffstat:
Mcmd/sun/main.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cmd/sun/main.go b/cmd/sun/main.go @@ -58,11 +58,13 @@ func main() { fmt.Println( rise.In(loc).Format(time.RFC3339), set.In(loc).Format(time.RFC3339), + set.Sub(rise), ) } else { fmt.Println( rise.In(loc).Format(*f), set.In(loc).Format(*f), + set.Sub(rise), ) } }