Change from 1 hour per day to 45 min

This commit is contained in:
Raine Godmaire 2024-05-18 13:40:48 -04:00
parent 61d478d576
commit bdb116dab5

View file

@ -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 {