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

Content deleted Content added
No edit summary
No edit summary
Line 39:
local dformat = frame.args.format or default
if date == "" then date = "No date" end
local d,numMon, y = date:match("(%d+)(%d%d)|%D+(%d+)")
local mnth = date:match("%a+") or ""
mnth = string.upper(string.sub(mnth, 1, 1)) .. string.sub(mnth, 2)