update-time-on-edit-obsidian icon indicating copy to clipboard operation
update-time-on-edit-obsidian copied to clipboard

Update Time on edit works on file creation but breaks on re-import of note

Open Kingpatzer opened this issue 6 months ago • 1 comments

When importing from Zoterero into a note using templater with the following frontmatter, and Created At deselected in configuration:


"Year:": '2022' "tags:": "✅, ❌, 🔼, 🔽" "Authors:": "Kuldeep Bhalerao, Arya Kumar, Purvi Pujari" "Category:": literaturenote <% tp.user.parseTags("Status", ["✅","⏳","❌"], "✅, ❌, 🔼, 🔽") %> <% tp.user.parseTags("Importance", ["🔼","▶","🔽"], "✅, ❌, 🔼, 🔽") %> created: <% tp.date.now("yyyy-MM-DD'T'HH:mm") %>

Everything works as expected.

If the same citation is reimported, an error is thrown and the frontmatter is not updated as expected. Log attached:

(also note, there's a misspelling in the error message "frontamtter" rather than "frontmatter") from line 6021

obsidian.md-1721939423108.log

Kingpatzer avatar Jul 25 '24 20:07 Kingpatzer