fix: local timezone (#5)

This commit is contained in:
STEVEN 2021-12-14 06:27:41 +08:00 committed by GitHub
parent 73812cd58d
commit b40060fd36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,5 +11,5 @@ func GenUUID() 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")
}