mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
restore current month from accidental deletion
This commit is contained in:
@@ -260,6 +260,7 @@ local function calenderinfo_today()
|
|||||||
.. dinfo.year
|
.. dinfo.year
|
||||||
opts.week = os.date(dateformats.week)
|
opts.week = os.date(dateformats.week)
|
||||||
opts.isoweek = os.date(dateformats.isoweek)
|
opts.isoweek = os.date(dateformats.isoweek)
|
||||||
|
opts.month = dinfo.month
|
||||||
opts.year = dinfo.year
|
opts.year = dinfo.year
|
||||||
opts.day = dinfo.day
|
opts.day = dinfo.day
|
||||||
return opts
|
return opts
|
||||||
@@ -270,7 +271,7 @@ local function linesubst(line, title, calendar_info, relative_dates)
|
|||||||
local rdates = relative_dates or relativedates_today()
|
local rdates = relative_dates or relativedates_today()
|
||||||
local substs = {
|
local substs = {
|
||||||
date = cinfo.date,
|
date = cinfo.date,
|
||||||
hdate = cinfo.hdate,
|
hdate =cinfo.hdate,
|
||||||
week = cinfo.week,
|
week = cinfo.week,
|
||||||
isoweek = cinfo.isoweek,
|
isoweek = cinfo.isoweek,
|
||||||
year = cinfo.year,
|
year = cinfo.year,
|
||||||
|
|||||||
Reference in New Issue
Block a user