Merge pull request #43 from Liquidmantis/bugfix-dates

fix bug with create_note_from_template and nil calendar_info
This commit is contained in:
Rene Schallner
2021-12-14 09:37:46 +01:00
committed by GitHub

View File

@@ -281,6 +281,10 @@ local function calculate_dates(date)
end end
local function linesubst(line, title, dates) local function linesubst(line, title, dates)
if dates == nil then
dates = calculate_dates()
end
local substs = { local substs = {
hdate = dates.hdate, hdate = dates.hdate,
week = dates.week, week = dates.week,