Module:Sandbox/RexxS/Dates: Difference between revisions

Content deleted Content added
default error msg
empty as well
Line 31:
 
function p.dayTry(frame)
local date = frame.args.date or mw.text.trim(frame.args[1] or "No date")
if date == "" then date = "No date" end
local d, y = date:match("(%d+)%D+(%d+)")
local mnth = date:match("%a+") or ""