Module:Sandbox/CanonNi: Difference between revisions

Content deleted Content added
...and of course lua does it the weird way
error handling
Line 6:
function p.main(frame)
local day = Date(frame.args[1]) or string.format('%s %s %s', current.day, current.month, current.year)
return ": ''As of " .. day .. (frame.args[2] or '')
end