From bdb116dab504a7fd0e73a1bf92590eb22693c955 Mon Sep 17 00:00:00 2001 From: Raine Godmaire Date: Sat, 18 May 2024 13:40:48 -0400 Subject: [PATCH] Change from 1 hour per day to 45 min --- stormlight.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stormlight.go b/stormlight.go index 14dc700..21f8aa3 100644 --- a/stormlight.go +++ b/stormlight.go @@ -102,7 +102,7 @@ var stormlight []Book = []Book{ } func getBookWithTimestamp(timeRemaining time.Duration) (string, time.Duration) { - timeRemaining = time.Duration(timeRemaining.Hours()/24) * time.Hour + timeRemaining = time.Duration(timeRemaining.Hours()/24) * 45 * time.Minute slices.Reverse(stormlight) for _, book := range stormlight {