🎨 Add Default fill specific time switch to database date field https://github.com/siyuan-note/siyuan/issues/12089

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-09-26 12:06:55 +08:00
parent 9ff633d9ea
commit 5f69916a39
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -4793,6 +4793,7 @@ func updateAttributeViewValue(tx *Transaction, attrView *av.AttributeView, keyID
val.Date.Content = 0
val.Date.FormattedContent = ""
}
val.Date.IsNotTime = !key.Date.FillSpecificTime
} else if av.KeyTypeSelect == val.Type || av.KeyTypeMSelect == val.Type {
if nil != key && 0 < len(val.MSelect) {
var tmp []*av.ValueSelect