mirror of https://github.com/velour/catbase.git
countdown: fix timer
This commit is contained in:
parent
0aaa3cb136
commit
c20b4c8b17
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue