mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: local timezone (#5)
This commit is contained in:
@ -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")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user