Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Release)
mNo edit summary
Line 176: Line 176:
return nil
return nil
end
end
local formatted_date = os.date('%Y %B %d', time)
local formatted_date = os.date('%Y %B %d', time) -- 2024 January 01
formatted_date = string.gsub(formatted_date, ' 0', ' ') -- Convert 2024 January 01 to 2024 January 1
formatted_date = string.gsub(formatted_date, ' 0', ' ') -- Convert 2024 January 01 to 2024 January 1
return
return formatted_date
end
end
function parse.release_smw(date)
function parse.release_smw(date)