Skip to content

Commit

Permalink
统一时区
Browse files Browse the repository at this point in the history
  • Loading branch information
rroy233 committed Apr 24, 2023
1 parent 787ddaa commit 24180c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/rroy233/logger"
"os"
"os/signal"
"time"
)

var bot *tgbotapi.BotAPI
Expand Down Expand Up @@ -48,6 +49,7 @@ func main() {
}

//init
time.Local = time.FixedZone("CST", 8*3600)
config.Init()
rdb := db.Init()
statistics.InitStatistic(rdb)
Expand Down

0 comments on commit 24180c7

Please sign in to comment.