I cannot get the last modified date to work properly #1195
-
Hi, I would like to have a template that when I create a file based on it, to have a field 'Created' assign the date and time of the creation of the file (not the template), then each time I edit the file (not the template which it was created from) have a 'Last modified' field update the last modified update the date and time. I've created a template with the following header:
Once I create a new note with this template, it assigns the created date to the template creation date and not the file creation date. Moreover, the last modified date is not updating when I update the file. What I noticed is that once the file is created using the template, the 'Created' and 'Last modified' are changed from code to text:
How can I make them remain dynamic in the header of the file? Also, when I tried using Dynamic commands from the documentation, I entered this in the text |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is a bug, I don't recommend using dynamic commands. Use the Linter plugin instead for setting created/modified dates in frontmatter. |
Beta Was this translation helpful? Give feedback.
It is a bug, I don't recommend using dynamic commands.
#1015
#910
#913
Use the Linter plugin instead for setting created/modified dates in frontmatter.