fix: local timezone (#5)

pull/6/head
STEVEN 3 years ago committed by GitHub
parent 73812cd58d
commit b40060fd36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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")
} }

Loading…
Cancel
Save