Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:pencil2: 时间格式化

Liang Dingf1112634a4bb
diff --git a/kernel/model/sync.go b/kernel/model/sync.go
index 61cc8f9103..8b9ed024e1 100644
--- a/kernel/model/sync.go
+++ b/kernel/model/sync.go
@@ -122,7 +122,7 @@ func SyncData(boot, exit, byHand bool) {
util.BroadcastByType("main", "syncing", 0, Conf.Language(81), nil)
defer func() {
- synced := util.Millisecond2Time(Conf.Sync.Synced).Format("2006-01-02-15:04:05") + "\n\n" + Conf.Sync.Stat
+ synced := util.Millisecond2Time(Conf.Sync.Synced).Format("2006-01-02 15:04:05") + "\n\n" + Conf.Sync.Stat
msg := fmt.Sprintf(Conf.Language(82), synced)
Conf.Sync.Stat = msg
Conf.Save()