Documentation for this module may be created at Module:Time/doc
local p = {}
function p.getdate( frame )
local sText = frame.args[1]
local sTimestamp = frame.args[2]
local sLangCode = frame.args[3]
local lang = mw.language.new(sLangCode or "en")
if sText then
return lang:formatDate(sText, sTimestamp)
end
end
return p