beaussan / update-time-on-edit-obsidian

MIT License
165 stars 15 forks source link

cannot update "create time" and "update time" correctly when creating notes by Templater #79

Open AiurArtanis opened 4 months ago

AiurArtanis commented 4 months ago

for example, my Journry Template is created on 2023-1-1, last modified on 2023-12-1. When i create today's journey and 2024-5-7 daily note'create time is "2023-1-1", update time is "2023-12-1". It seems the note inherits its template's create time and update time, and it's obviously improper. i try to fix this situation. i changed the template note's create time to <% tp.date.now("YYYY-MM-DD HH:mm:ss") %> in yaml, so that new note inherited from this template would get the correct create time. maybe it will be nice if this plugin will update create time and update time when creating note from a template note rather than inheriting create time and update time.

struestyle commented 4 months ago

Dear developer, I have the same problem here. Have a good day