Content deleted Content added
Cyborg Coder (talk | contribs) ←Created page with '--Cyborg Coder Google Code-in, Lua Task 7 - Date formatting local p = {} return p' |
Cyborg Coder (talk | contribs) No edit summary |
||
Line 1:
--Cyborg Coder Google Code-in, Lua Task 7 - Date formatting
local p = {}
function p.date( frame )
dtext = frame.args.text
if (text=="" or text==nil) then return "No date given" end
dformat = frame.args.format or default
return dtext
end
return p
|