fixed to stylua style

This commit is contained in:
Rene Schallner
2021-12-13 17:19:19 +01:00
parent 9a86890b29
commit 0749d4a9a6

View File

@@ -200,7 +200,7 @@ local monthmap = {
local dateformats = { local dateformats = {
date = "%Y-%m-%d", date = "%Y-%m-%d",
week = "%V", week = "%V",
isoweek = "%Y-W%V" isoweek = "%Y-W%V",
} }
local function calculate_dates(date) local function calculate_dates(date)
@@ -1539,7 +1539,7 @@ end
local function CalendarAction(day, month, year, weekday, _) local function CalendarAction(day, month, year, weekday, _)
local opts = {} local opts = {}
opts.date = string.format("%04d-%02d-%02d", year, month, day) opts.date = string.format("%04d-%02d-%02d", year, month, day)
opts.date_table = {year=year, month=month, day=day} opts.date_table = { year = year, month = month, day = day }
opts.calendar = true opts.calendar = true
GotoDate(opts) GotoDate(opts)
end end