mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 18:53:43 +08:00
feat: integrate xxl-job-admin to implements automatic task scheduling
This commit is contained in:
@@ -62,7 +62,7 @@ func Str2stamp(str string) int64 {
|
||||
}
|
||||
|
||||
layout := "2006-01-02 15:04:05"
|
||||
t, err := time.Parse(layout, str)
|
||||
t, err := time.ParseInLocation(layout, str, time.Local)
|
||||
if err != nil {
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user