Skip to content

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

:art: Update av date filed `IsNotTime` default value to `true` https://github.com/siyuan-note/siyuan/issues/14237

Daniel60b2df8296aa
diff --git a/kernel/av/value.go b/kernel/av/value.go
index 9f7cbe4c00..593cce3d81 100644
--- a/kernel/av/value.go
+++ b/kernel/av/value.go
@@ -945,7 +945,7 @@ func GetAttributeViewDefaultValue(valueID, keyID, blockID string, typ KeyType) (
case KeyTypeNumber:
ret.Number = &ValueNumber{}
case KeyTypeDate:
- ret.Date = &ValueDate{}
+ ret.Date = &ValueDate{IsNotTime: true}
case KeyTypeSelect:
ret.MSelect = []*ValueSelect{}
case KeyTypeMSelect: