Module:Sandbox/Cyborg Coder/Dates: Difference between revisions

Content deleted Content added
Created page with '--Cyborg Coder Google Code-in, Lua Task 7 - Date formatting local p = {} return p'
 
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