From d38989ff549cf5bc8370e6a5a298e5b45f1ff852 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 26 Jan 2022 17:06:03 +0100 Subject: [PATCH] Add 30 minute offset to sunset --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 20c3e63..4b99527 100644 --- a/main.go +++ b/main.go @@ -80,6 +80,8 @@ func getNextSunriseSunset() (time.Time, time.Time) { sunset = sunset2 } + sunset = sunset.Add(-time.Minute*30) + return sunrise, sunset }