From c20b4c8b179cc4d771eadbe562f8771463516880 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Thu, 31 Dec 2020 12:36:48 -0500 Subject: [PATCH] countdown: fix timer --- plugins/countdown/countdown.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/countdown/countdown.go b/plugins/countdown/countdown.go index 3d4d5f0..57865d0 100644 --- a/plugins/countdown/countdown.go +++ b/plugins/countdown/countdown.go @@ -12,7 +12,7 @@ import ( "github.com/velour/catbase/config" ) -var nextYear = time.Date(time.Now().Year()+1, time.January, 0, 0, 0, 0, 0, time.Local) +var nextYear = time.Date(time.Now().Year()+1, time.January, 1, 0, 0, 0, 1, time.Local) var thisYear = time.Now().Year() type CountdownPlugin struct {