mirror of
https://github.com/usememos/memos.git
synced 2025-03-18 19:50:09 +01:00
fix: local timezone (#5)
This commit is contained in:
parent
73812cd58d
commit
b40060fd36
@ -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…
x
Reference in New Issue
Block a user