mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 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:
parent
9ff633d9ea
commit
5f69916a39
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue