You can use !! to insert dates. It accepts some date formats and some natural language as argument.
I found the following:
-
!!YYYY-MM-DDlike!!2021-01-10for 10th january 2021 -
!!yesterday,!!today,!!tomorrow -
!!XInterval[ago]whereXis an integer (1,2,…),Intervalisday,week,month,yearandagois optional to go into the past instead of the future- instead of
agoyou can also prefix withlast
- instead of
-
!!Weekdaywhereweekdayismonormonday-
!!lastWeekdaygets the weekday of last week, e.g.lastmondayis the monday of last week which could be 2 mondays ago
-
Is this documented anywhere? Is there more? What is the underlying library used to parse this? https://github.com/wanasit/chrono?