mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
fix: support different dates using dinfo
This commit is contained in:
@@ -284,7 +284,8 @@ local function calculate_dates(date)
|
||||
|
||||
local zonehour = string.sub(os.date("%z"), 1, 3)
|
||||
local zonemin = string.sub(os.date("%z"), 4, 5)
|
||||
dates.rfc3339 = os.date("%Y-%m-%dT%H:%M:%S")
|
||||
dates.rfc3339 = os.date(df.date, time)
|
||||
.. os.date("T%H:%M:%S")
|
||||
.. "Z"
|
||||
.. zonehour
|
||||
.. ":"
|
||||
|
||||
Reference in New Issue
Block a user