feat: refact timezone calling

This commit is contained in:
engigu
2026-02-09 18:39:41 +08:00
parent eb05eafb72
commit f693c32554
10 changed files with 64 additions and 18 deletions
+3 -2
View File
@@ -2,13 +2,14 @@ package executor
import (
"sync"
"time"
"github.com/engigu/baihu-panel/internal/systime"
"github.com/robfig/cron/v3"
)
// 东八区时区(默认)
var defaultLocation = time.FixedZone("CST", 8*3600)
var defaultLocation = systime.CST
// CronManager 统一的任务调度管理器
type CronManager struct {