I’d like to create a template, so that when i apply it to an existing note, or create a new note using that template, it auto populates the start of the title with the following formatting:
“4Q2024” – Which should use the formatting of “Q[Q]YY” if abiding by the momentjs formatting: Moment.js | Docs
i’m not sure when we are supposed to use the momentjs formatting, as my notes don’t always seem to respond to it, but the “Periodic notes” plugin seems to use it? I don’t really need to use this plugin, i just want to accomplish this in the easiest way possible. Thanks all…
Most plugins rely on MomentJS for their date/time formatting … Including “Periodic Notes”
If a plugin doesn’t use MomentJS (e.g.: Dataview uses Luxon), this is generally mentioned in the plugin documentation…
Now, I’m not sure to fully understand your question …
I mean, if you use the plugin “Periodic Notes”, it can already create a brand new quarterly note (at least, for the current quarter) titled the way you want (I’ve never tested Q[Q]YY as a format though ) with a dedicated template applied to it, when triggering the command Periodic Notes: Open quarterly note from the command palette (if you enabled the “Quarterly Notes” within the plugin’s settings)
In other words : Is the issue you’re facing tied to a specific template you’re trying to write ? Bits of that template ? What “template plugin” do you use/want to use ? …
I have templater but i haven’t gotten it to work and accomplish this.
I’m open to using any addon that can accomplish this. I’m not looking to create a daily note with this formatting – rather, i just want to be able to create a note with this template, and have it auto populate the associated date formatting at the front of the title.
Anybody know? What about something even simpler? — just put the date at start of my notes in following format: 2024.11.14? What do I put in my template for this to work? {{date}} doesn’t do anything…