mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-29 16:24:58 +00:00
13 lines
219 B
Lua
13 lines
219 B
Lua
-- Date column definition
|
|
local function date_column(id, label, format)
|
|
return {
|
|
type = "date",
|
|
id = id,
|
|
label = label,
|
|
format = format or "YYYY-MM-DD",
|
|
sortable = true
|
|
}
|
|
end
|
|
|
|
return date_column
|