argenos / nldates-obsidian

Work with dates in natural language in Obsidian
MIT License
490 stars 44 forks source link

No support for "next week" in languages that are not English #80

Closed stouf closed 2 years ago

stouf commented 2 years ago

As demonstrated in the screencast attached below, the plug-in does not understand the trigger next week if the language of Obsidian is not English and if the setting Weeks starts on is set to Locale default. The plug-in generates Invalid date. However, it works if the setting Weeks starts on explicitly sets a day in the week, or if the language of Obsidian is set to English.

https://user-images.githubusercontent.com/2033517/148664098-4471dae2-fc0c-452f-9123-714cdc7f5bd0.mov

The language used in the screencast is Japanese.

liamcain commented 2 years ago

Thanks for the bug report and the very detailed repro steps. I was able to track down the issue and the fix should be released soon.