Keyboard shortcuts to enter current date/time

Obsidian could take inspiration from the Discourse form for specifying a date/time (with the little calendar icon in the post editor). A benefit of this is that it’s machine-readable (and for the most part, human readable, especially when the WYSIWYG editor lands):

  • [date=2020-05-31 timezone="America/Los_Angeles"] -> 2020-05-31T07:00:00Z
  • [date=2020-06-01 time=17:00:00 timezone="America/Los_Angeles"] -> 2020-06-02T00:00:00Z
  • [date=2020-06-01 format="YYYY-MM-DD" timezone="America/Los_Angeles" timezones="UTC" recurring="1.weeks"] -> 2020-06-01

I don’t particularly care for the explicit timezone, but I can definitely see it’s value. It’d be extra awesome if Obsidian could parse something in the form - [ ] Important meeting [[date=2020-06-15 time=13:00:00]] and insert a link to the daily note for 2020-06-15. Extra brownie points if date/time objects can be inputted/displayed with natural language like Discourse does :grin:.

3 Likes