From 64df2ffa42df2804778f401ec75203319fe5cba4 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 10 Oct 2023 20:37:51 +0800 Subject: [PATCH] :art: Rows in the database without bound blocks should not show created and updated Fix https://github.com/siyuan-note/siyuan/issues/9391 --- kernel/model/export.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/model/export.go b/kernel/model/export.go index 55160ed914a..afb39421bdf 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -1936,11 +1936,11 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool, } } else if av.KeyTypeCreated == cell.Value.Type { if nil != cell.Value.Created { - cell.Value.Created = av.NewFormattedValueCreated(cell.Value.Date.Content, 0, av.CreatedFormatNone) + cell.Value.Created = av.NewFormattedValueCreated(cell.Value.Created.Content, 0, av.CreatedFormatNone) } } else if av.KeyTypeUpdated == cell.Value.Type { if nil != cell.Value.Updated { - cell.Value.Updated = av.NewFormattedValueUpdated(cell.Value.Date.Content, 0, av.UpdatedFormatNone) + cell.Value.Updated = av.NewFormattedValueUpdated(cell.Value.Updated.Content, 0, av.UpdatedFormatNone) } }