mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 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"] {
|
if "" == ial["updated"] {
|
||||||
block := getRowBlockValue(rowValues)
|
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{", "}")
|
goTpl := template.New("").Delims(".action{", "}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue