fix: timezone parse time issue

This commit is contained in:
simonzhangsz committed 2024-03-29 10:09:43 +08:00
1 parent 5b385a5342
commit c6fbee9a76
6 files changed
+72 -32

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ func init() {
log.Infof("========================= OMC sshsvc startup =========================")
log.Infof("OMC sshsvc version: %s %s %s", global.Version, global.BuildTime, global.GoVer)
db := conf.Database
err := dborm.InitDbClient(db.Type, db.User, db.Password, db.Host, db.Port, db.Name)
err := dborm.InitDbClient(db.Type, db.User, db.Password, db.Host, db.Port, db.Name, db.ConnParam)
if err != nil {
fmt.Println("dborm.initDbClient err:", err)
os.Exit(1)