Hi there.
I am using templater plugins but I have problem with auto-update meta like creation and modification. I always when I create or edit notes, I have to cmd + P and choose option Insert Current Date, I always forget about it.
How can I set auto-updated notes in meta (create/edit date)?
Maybe I should change the plugin?
As a YAML header at the top of the file it wonāt work, although changes to how YAML works are in the pipeline, so things might be different before too long.
Tepmplaterās dynamic commands <%+ ... %> are not working reliably anymore and might be deprecated soon. In short <%+ ....%> does return NaN instead of needed values like date.
Alternative way for automatically updating yaml
For quickly generating and/or updating yaml /front matter block I now use reasonable alternative, that is community plugin Linter. Linter has YAML section that can be configured to create, format and update yaml block.
I use it to auto-generate yaml atr. like title, aliases, tags and created / modified dates.
Advantage
values are edited into note itself as text instead of script so *.md file can be read outside of obsidian.
unifies format in all notes
Disadvantage
single format for all notes
Automation
Once set up, Linter can be triggered either by shortcut ctrl + alt + L (as in many IDEās) or automatically upon saving.
It is a āprettyfierā plugin. among updating yaml itās primary function is to format md file according to setting and/or md standards.
Disclaimer
Iām not associated with Linter team. I simply looked for way to fix Templatorās āNaNā issue and came across this thread and after finding alternative came back to help fellowship of obsidian in the future.