Content deleted Content added
Cyborg Coder (talk | contribs) No edit summary |
Cyborg Coder (talk | contribs) No edit summary |
||
Line 9:
end
"jul", "aug", "sep", "oct", "nov", "dec" }
local days_in_month = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
Line 35:
local mnth = date:match("%a+") or ""
mnth = string.upper(string.sub(mnth, 1, 1)) .. string.sub(mnth, 2)
if months[string.lower(string.sub(mnth, 1, 3))] ~= nil then mnth = date:match("
d, y = tonumber(d) or 1, tonumber(y) or 0
local m = month_idx[mnth:sub(1,3):lower()] or tonumber(date:match("%D0(%d)")) or 0
|