fix: local timezone

This commit is contained in:
boojack 2021-12-14 06:25:25 +08:00
parent 73812cd58d
commit 927cdfe5df
1 changed files with 1 additions and 1 deletions

View File

@ -11,5 +11,5 @@ func GenUUID() string {
} }
func GetNowDateTimeStr() string { func GetNowDateTimeStr() string {
return time.Now().Format("2006/01/02 15:04:05") return time.Now().Local().Format("2006/01/02 15:04:05")
} }