Change from 1 hour per day to 45 min
This commit is contained in:
parent
61d478d576
commit
bdb116dab5
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ var stormlight []Book = []Book{
|
||||||
}
|
}
|
||||||
|
|
||||||
func getBookWithTimestamp(timeRemaining time.Duration) (string, time.Duration) {
|
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)
|
slices.Reverse(stormlight)
|
||||||
|
|
||||||
for _, book := range stormlight {
|
for _, book := range stormlight {
|
||||||
|
|
Loading…
Reference in a new issue