From f7b5017d05c15113bfbd72982dd8e37ffdc5fcfa Mon Sep 17 00:00:00 2001 From: Liquidmantis Date: Sat, 11 Dec 2021 12:16:31 -0700 Subject: [PATCH] restore current month from accidental deletion --- lua/telekasten.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/telekasten.lua b/lua/telekasten.lua index ef53167..ee736eb 100644 --- a/lua/telekasten.lua +++ b/lua/telekasten.lua @@ -260,6 +260,7 @@ local function calenderinfo_today() .. dinfo.year opts.week = os.date(dateformats.week) opts.isoweek = os.date(dateformats.isoweek) + opts.month = dinfo.month opts.year = dinfo.year opts.day = dinfo.day return opts @@ -270,7 +271,7 @@ local function linesubst(line, title, calendar_info, relative_dates) local rdates = relative_dates or relativedates_today() local substs = { date = cinfo.date, - hdate = cinfo.hdate, + hdate =cinfo.hdate, week = cinfo.week, isoweek = cinfo.isoweek, year = cinfo.year,