argenos / nldates-obsidian

Work with dates in natural language in Obsidian

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Separate trigger for different date format

ryadaj opened this issue · comments

First of all, thank you for this amazing plugin. I have used it since the day it was first released and love it!

Recently I have had a need for both YYYY-MM-DD and just YYYY-MM formats. Of course the latter can be achieved by changing the date format in the settings, but this means I would have to do so each time I want a different format.

Could it be possible to add a secondary trigger for a secondary date format? For example:
@Date = YYYY-MM-DD
@@Date = YYYY-MM

Thank you!

Or will be grate if we can define the alias and date format, in example

Alias Date Format Output
@today ddd DD Sun 23
@today ISO format YYYY-MM-DD 2022-10-23

Thanks in advance!