Hello,
Since the new Obsidian update 1.14 with properties UI, I can’t render the creation and modification date in the YAML zone.
I still have Templater plugin up to date an active.
With the previous version of Obsidian (<1.14) :
Edit mode
creation: <% tp.file.creation_date() %>
modification: <% +tp.file.last_modified_date(“YYYY-MM-DD HH:mm:ss”) %>
Preview mode
creation: 2023-10-31 15:25
modification: 2023-10-31 15:26:06
And the modification date field was updating on file change.
With the New 1.14, it does not render anymore.
When I do a manual rendering (Alt+R) the command <% +tp.file.last_modified_date(“YYYY-MM-DD HH:mm:ss”) %> show “NaN”.
I have to erase the “+” on the command to render it correctly, but on file modification, it does not update.
I know that there is the Linter plugin to solve it, but I don’t understand why It worked well before the update and now it is just crap.
Have I missed something ?
Is it possible to make it work again withou using other plugins ?
Thanks for your help.