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
15d651713c
commit
7beb2aa978
6 changed files with 14 additions and 14 deletions
|
|
@ -102,11 +102,11 @@ func RenderAttributeViewKanban(attrView *av.AttributeView, view *av.View, query
|
|||
}
|
||||
kanbanCard.ID = cardID
|
||||
|
||||
filedDateAutoFill := false
|
||||
filedDateIsTime := false
|
||||
if nil != field.Date {
|
||||
filedDateAutoFill = field.Date.AutoFillNow
|
||||
filedDateIsTime = field.Date.FillSpecificTime
|
||||
}
|
||||
fillAttributeViewBaseValue(fieldValue.BaseValue, field.ID, cardID, field.NumberFormat, field.Template, filedDateAutoFill)
|
||||
fillAttributeViewBaseValue(fieldValue.BaseValue, field.ID, cardID, field.NumberFormat, field.Template, filedDateIsTime)
|
||||
kanbanCard.Values = append(kanbanCard.Values, fieldValue)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue