Module:Sandbox/Hellknowz/Test: Difference between revisions

Content deleted Content added
'10:28:27, 3 May 2013' case, geez this is a lot
m indices
Line 278:
if (elements[5] == ELEMENT_ONETWODIGITS) then -- '10:28:27'
if (numberOfElements == 5) then return checkAndOutput(nil, nil, nil, values[1], values[3], values[5]) end
if (elements[56] == ELEMENT_WHITESPACE or elements[5] == ELEMENT_COMMA) then -- '10:28:27, '
if (elements[67] == ELEMENT_ONETWODIGITS) then -- '10:28:27, 3'
if (elements[78] == ELEMENT_WHITESPACE) then -- '10:28:27, 3 '
if (elements[89] == ELEMENT_MONTHWORD) then -- '10:28:27, 3 May'
if (elements[910] == ELEMENT_WHITESPACE) then -- '10:28:27, 3 May '
if (elements[1011] == ELEMENT_FOURDIGITS) then -- '10:28:27, 3 May 2013'
if (numberOfElements == 1011) then return checkAndOutput(values[1011], values[89], values[67], values[1], values[3], values[5]) end
end
end