Module:Param Parse: Difference between revisions

Attempt at automated update link
No edit summary
(Attempt at automated update link)
Line 179:
local formatted_date = os.date('[[%d %B]] [[%Y]]', time) -- [[01 January]] [[2024]]
formatted_date = string.gsub(formatted_date, '%[%[0', '[[') -- Convert [[01 January]] [[2024]] to [[1 January]] [[2024]]
formatted_date = formatted_date .. ' ([[Game updates/' .. date .. '|Update]])'
return formatted_date
end