🎨 Update database https://github.com/siyuan-note/siyuan/issues/10038
This commit is contained in:
parent
6462107872
commit
aed2020e3f
1 changed files with 3 additions and 1 deletions
|
@ -598,7 +598,9 @@ func renderTemplateCol(ial map[string]string, tplContent string, rowValues []*av
|
|||
}
|
||||
if "" == ial["updated"] {
|
||||
block := getRowBlockValue(rowValues)
|
||||
ial["updated"] = time.UnixMilli(block.Block.Updated).Format("20060102150405")
|
||||
if nil != block && nil != block.Block {
|
||||
ial["updated"] = time.UnixMilli(block.Block.Updated).Format("20060102150405")
|
||||
}
|
||||
}
|
||||
|
||||
goTpl := template.New("").Delims(".action{", "}")
|
||||
|
|
Loading…
Add table
Reference in a new issue