Content deleted Content added
0 or 1 |
okay just straight variables since these indices are so messy |
||
Line 36:
local input = args[1]
local
if (
--return
local month = monthIndices[match[2]:lower()]▼
if (month == nil) then return input .. ' -> does not have a recognized month name' end
local day =
local year =
return input .. ' -> parsed to ' .. year .. '-' .. month .. '-' .. day; -- won't add 0s
end
|