An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Database rollup calculation range anomaly https://github.com/siyuan-note/siyuan/issues/10913
Daniel49e62ebff586
diff --git a/kernel/av/value.go b/kernel/av/value.goindex 2d9e2a83fb..2a2793386b 100644--- a/kernel/av/value.go+++ b/kernel/av/value.go@@ -501,9 +501,9 @@ func NewFormattedValueDate(content, content2 int64, format DateFormat, isNotTimeformatted = contentTime.Format("2006-01-02 15:04")}+ content2Time := time.UnixMilli(content2)if hasEndDate {var formattedContent2 string- content2Time := time.UnixMilli(content2)if isNotTime {formattedContent2 = content2Time.Format("2006-01-02")} else {@@ -523,6 +523,8 @@ func NewFormattedValueDate(content, content2 int64, format DateFormat, isNotTimeret = &ValueDate{Content: content,Content2: content2,+ IsNotEmpty: true,+ IsNotEmpty2: !content2Time.IsZero(),HasEndDate: hasEndDate,IsNotTime: true,FormattedContent: formatted,