argenos / nldates-obsidian

Work with dates in natural language in Obsidian
MIT License
477 stars 43 forks source link

[Feature Request] Separate trigger for different date format #112

Open ryadaj opened 1 year ago

ryadaj commented 1 year ago

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!

facundobianco commented 1 year ago

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!