fix: always use template for goto_today (closes #206)

This commit is contained in:
Thomas Lambert
2023-02-03 15:37:31 +01:00
parent 3238b38485
commit 61e7cd0ae3

View File

@@ -1839,6 +1839,7 @@ local function GotoToday(opts)
local today = os.date(dateformats.date) local today = os.date(dateformats.date)
opts.date_table = os.date("*t") opts.date_table = os.date("*t")
opts.date = today opts.date = today
opts.follow_creates_nonexisting = true -- Always use template if GotoToday
GotoDate(opts) GotoDate(opts)
end end