This let’s you write dates in Obsidian using natural language. For example writing @today will open a suggestion box which will auto complete with a link to today’s daily note.
This is based on the existing nldates plugin but rewritten to minimise LOC and dependencies, and with the assumption that I’m the only user.
As such
- Only one date format is support, YYYY-MM-DD
- Only @ is usable as a trigger for date suggestions.
- The “first day of the week” is hardcoded
- Only “Today”, “Yesterday”, “Tommorrow” and “last/next monday/tuesday/etc” are supported. Arbitrary natural language dates are not supported.
On the plus side, this version doesn’t depend on a 500kB natural date parsing library.