all repos — honk @ 5e85329744da423d4c1488143287c36ba51db331

my fork of honk

we need to go deeper
Ted Unangst tedu@tedunangst.com
Fri, 28 Apr 2023 11:09:46 -0400
commit

5e85329744da423d4c1488143287c36ba51db331

parent

b4272176c40411211e0dd6d429f45700fb337a25

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M database.godatabase.go

@@ -250,7 +250,7 @@ }

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)