argenos / nldates-obsidian

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

Feature request: Support for "Next January"... #103

Open jaffall opened 2 years ago

jaffall commented 2 years ago

I tried "@next January" but it returned January 1st of the current year instead of January 1st of next year. It would be great if you could add this type of dates.

S-Wil commented 1 year ago

hm I just tried this and it worked as expected - returns 1 Jan 2023.

jaffall commented 1 year ago

I just tried it as well and I also get the right answer. Could it be related to date math ? I posted my previous message on June 11th which is closer to January 2022 than January 2023.

Kobuster commented 1 year ago

Hi, I have the same issue. Today on june 1, if i input "dec 1", i get december 22. If i input "nov 1" i get november 23. If i input feb-jun 1 i also get current year (would like to get net year). But for "Jan 1" i get 2022 again. even if i put "next january" i get jan 22. Weirdly for the "next x" command, i always get current year (2023), except for dec and jan, where i get 2022.

I am in germany with correct time set on windows 11. i have tried changing the start of the week and reinstalling the plugin. I have several languages on my pc, maybe that has something to do with it.

This is definitely a bug on my machine. will try later on a different Pc (win10).

I really only want it to output dates in the future. is there something that i can do?