Closed ltctceplrm closed 2 years ago
If I use the Templater plugin to add the timestamp with <% tp.date.now("YYYY-MM-DD[T]HH:mm:ssZ") %>
instead of using the Obsidian template then it actually works, weird
it is probably because of the extra :
in there
Oh, which :
should I remove to have it work with the default template?
try removing the ones in the date template
nvm, the way you are trying to use the themplates is not implemented yet
Oh okay, I'll continue using templater in the meantime since then the timestamp does work.
Describe the bug When I try to timestamp the new media entries using the templates they give an error instead of the timestamp.
To Reproduce Steps to reproduce the behavior:
created: {{ date:YYYY-MM-DDTHH:mm:ssZ }}
Expected behavior For regular notes this template works fine and it should post the timestamp like this:
Occurs on
Plugin version 0.3.1
Additional context I've also tried the following templates with little success:
created: {{ date }}
Or
created: {{date:YYYY-MM-DDTHH:mm:ssZ}}
,created: {{ date : YYYY-MM-DDTHH:mm:ssZ }}
I'm not sure if it is a bug though or if I'm just doing something wrong