plugin-templates icon indicating copy to clipboard operation
plugin-templates copied to clipboard

Feature request: ability to substitute dates other than the current one

Open dniku opened this issue 4 years ago • 3 comments

Often, I find that I would benefit from the ability to specify things like "tomorrow" or "next week" via templates. For example, if I'm planning the next week, I want the template to substitute something like this for me:

<next week's number>: <first day of next week> -- <last day of next week>

Similarly for the next day. Is it possible to have Joplin substitute a date that is not the current date into a template?

dniku avatar Jan 16 '22 19:01 dniku

Seconding this. In particular I want {{yesterday}} and {{tomorrow}} to work. This isn't possible currently.

shbach avatar Feb 07 '22 00:02 shbach

{{date-2}} sort of like the search. Or supporting: How do I insert relative date/time in notes? - Support - Joplin Forum But that might be joplin core. It would also solve my formatting issue.

Ghalko avatar Feb 15 '22 15:02 Ghalko

Implemented in #79. This feature will go out in the next release.

nishantwrp avatar Nov 09 '23 11:11 nishantwrp