From 3c3dadc76b4141822e30ac5113332b1318e59f17 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 8 Apr 2021 15:50:34 -0400 Subject: [PATCH] butone --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))], }) })