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

Content deleted Content added
No edit summary
No edit summary
Line 45:
mnth = string.upper(string.sub(mnth, 1, 1)) .. string.sub(mnth, 2)
d, y = tonumber(d) or 1, tonumber(y) or 0
local m = month_idx[mnth:sub(1,3):lower()] or date:match("0%D0(%d)") or 0
local v = day_try(d, m, y)
local out = date .. " = " .. d .. " " .. m .. " " .. y .. " " .. mnth