Closed ahue closed 1 year ago
Plugin sets the frontmatter to the following,
--- created: 2022-01-12T09:12:52 updated: 2022-01-12T08:20:55 ---
notice the difference between created and updated in the hour.
templater plugin <% tp.file.creation_date("YYYY-MM-DD'T'HH:mm:ss") %> produces 2022-01-12T08:12:52.
<% tp.file.creation_date("YYYY-MM-DD'T'HH:mm:ss") %>
2022-01-12T08:12:52
Interestingly, it seems to be no problem with the updated field.
updated
Plugin should produce the same as templater example. The actual creation time of the file was 8:12:52 CET.
This should now be fixed since we now rely on Obsidian's created & modify time to update the header. If that is still an issue, feel free to reopen an issue !
Current behavior
Plugin sets the frontmatter to the following,
notice the difference between created and updated in the hour.
templater plugin
<% tp.file.creation_date("YYYY-MM-DD'T'HH:mm:ss") %>
produces2022-01-12T08:12:52
.Interestingly, it seems to be no problem with the
updated
field.Expected behavior
Plugin should produce the same as templater example. The actual creation time of the file was 8:12:52 CET.