diff --git a/main.go b/main.go index 0f25d0d..4263fb9 100644 --- a/main.go +++ b/main.go @@ -71,7 +71,7 @@ func index(tmpl *template.Template) http.Handler { Day int Quip string }{ - Day: int(dur.Hours() / 24), + Day: int(dur.Hours()/24) + 1, Quip: quips[rand.Intn(len(quips))], }) })