mirror of https://github.com/usememos/memos.git
fix: local timezone
This commit is contained in:
parent
73812cd58d
commit
927cdfe5df
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue