argenos / nldates-obsidian

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

[feat] Add ordinal date parser #84

Closed liamcain closed 2 years ago

liamcain commented 2 years ago

fixes #73

This adds a basic parser for ordinal numbers @1st @2nd @3rd will now all resolve to those days of the current month.

There is discussion in that thread about if we should use the closest or if it's preferable to always use upcoming dates. I think that can be determined later. For now it just uses the current month which I think is straightforward.