Skip to content

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

:art: Export the database date field not support "time" export https://github.com/siyuan-note/siyuan/issues/11785

Daniel62d443e0ee69
diff --git a/kernel/av/value.go b/kernel/av/value.go
index 952bd27714..9222269265 100644
--- a/kernel/av/value.go
+++ b/kernel/av/value.go
@@ -498,7 +498,7 @@ func NewFormattedValueDate(content, content2 int64, format DateFormat, isNotTime
Content: content,
Content2: content2,
HasEndDate: false,
- IsNotTime: true,
+ IsNotTime: isNotTime,
FormattedContent: formatted,
}
return
@@ -535,7 +535,7 @@ func NewFormattedValueDate(content, content2 int64, format DateFormat, isNotTime
IsNotEmpty: true,
IsNotEmpty2: !content2Time.IsZero(),
HasEndDate: hasEndDate,
- IsNotTime: true,
+ IsNotTime: isNotTime,
FormattedContent: formatted,
}
return