This commit is contained in:
Daniel 2024-11-05 09:36:11 +08:00
parent dc70276dae
commit dcc5cefa64
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1181,6 +1181,8 @@ func reassignIDUpdated(tree *parse.Tree, rootID, updated string) {
n.SetIALAttr("id", n.ID)
if "" != updated {
n.SetIALAttr("updated", updated)
n.ID = updated + "-" + gulu.Rand.String(7)
n.SetIALAttr("id", n.ID)
} else {
n.SetIALAttr("updated", util.TimeFromID(n.ID))
}