Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
No edit summary
Line 181: Line 181:
end
end
function parse.release_smw(date)
function parse.release_smw(date)
return unix_time(date)
local time = unix_time(date)
if time == nil then
return nil
end
local formatted_date = os.date('%Y-%m-%d') -- 2024-01-01
return formatted_date
end
end
parse.release = {
parse.release = {