-------------------------------------------------------------------------------
--- Opens the daily note
-function Notes.open_daily()
- local filename = os.date('%Y-%m-%d') .. '.md'
+function Notes.open_daily(date)
+ date = date or os.date('%Y-%m-%d')
+ local filename = date .. '.md'
open_periodic_note('daily', filename)
end