Module:Param Parse: Difference between revisions

Linked and correctly ordered dates
No edit summary
(Linked and correctly ordered dates)
Line 177:
return nil
end
local formatted_date = os.date('[[%Yd %B]] [[%dY]]', time) -- 2024[[01 January]] 01[[2024]]
formatted_date = string.gsub(formatted_date, ' [[0', ' [[') -- Convert 2024[[01 January]] 01[[2024]] to 2024[[1 January]] 1[[2024]]
return formatted_date
end