Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Supports searching database view content https://github.com/siyuan-note/siyuan/issues/9419

Daniel8399aba10b53
diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go
index 068038fa6a..24608eacc5 100644
--- a/kernel/model/transaction.go
+++ b/kernel/model/transaction.go
@@ -21,7 +21,6 @@ import (
"errors"
"fmt"
"path/filepath"
- "strconv"
"strings"
"sync"
"time"
@@ -1009,8 +1008,7 @@ func (tx *Transaction) doUpdateUpdated(operation *Operation) (ret *TxErr) {
return &TxErr{msg: ErrBlockNotFound.Error(), id: id}
}
- updated := int64(operation.Data.(float64))
- node.SetIALAttr("updated", strconv.FormatInt(updated, 10))
+ node.SetIALAttr("updated", operation.Data.(string))
createdUpdated(node)
tx.nodes[node.ID] = node
if err = tx.writeTree(tree); nil != err {