mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
Merge pull request #43 from Liquidmantis/bugfix-dates
fix bug with create_note_from_template and nil calendar_info
This commit is contained in:
@@ -281,6 +281,10 @@ local function calculate_dates(date)
|
||||
end
|
||||
|
||||
local function linesubst(line, title, dates)
|
||||
if dates == nil then
|
||||
dates = calculate_dates()
|
||||
end
|
||||
|
||||
local substs = {
|
||||
hdate = dates.hdate,
|
||||
week = dates.week,
|
||||
|
||||
Reference in New Issue
Block a user