argenos / nldates-obsidian

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

YYYY-MM-DD_ddd not working #117

Closed mdelobelle closed 1 year ago

mdelobelle commented 1 year ago

When parsed, a date-string with this format is converted into another date. See this issue opened on metadatamenu repo https://github.com/mdelobelle/metadatamenu/issues/147

mdelobelle commented 1 year ago

And by the way, thanks a lot for this great plugin! I use it dozens times a day, it is super robust 👍🏻

argenos commented 1 year ago

Sorry, but I may be missing a lot of context even when I read the issue in metadatamenu. It sounded like a conflict between both plugins using @ as a trigger, but I can't say if I understood right. Can you expand on what is the bug?

mdelobelle commented 1 year ago

Sure! In a clean new vault: here are the settings for the nldates plugin

image

when i type @today for example

image

Here is the result:

image

Everything's fine

But when I type a full date:

image

Here is the result

image

This is just happening with YYYY-MM-DD_ddd format, if I change the date format to YYYY-DD-MM ddd everything is working as expected

argenos commented 1 year ago

I'm not sure that counts as a date in natural language, e.g. try with 2022-11-19 Sat (with the space instead of the last underscore).

mdelobelle commented 1 year ago

I do think so. I'll close this issue thanks.