From e212f4eb1e59ef5f236ec90ffe25a277c27d23d4 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 28 Apr 2023 11:09:46 -0400 Subject: [PATCH] we need to go deeper --- database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.go b/database.go index cbbedc8..263bbe5 100644 --- a/database.go +++ b/database.go @@ -250,7 +250,7 @@ func gethonksforme(userid int64, wanted int64) []*Honk { func gethonksfromlongago(userid int64, wanted int64) []*Honk { now := time.Now() var honks []*Honk - for i := 1; i <= 3; i++ { + for i := 1; i <= 4; i++ { dt := time.Date(now.Year()-i, now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second(), 0, now.Location()) dt1 := dt.Add(-36 * time.Hour).UTC().Format(dbtimeformat)