Module:Sandbox/Hellknowz/Test: Difference between revisions

Content deleted Content added
fixes
i say fix and break further
Line 329:
if (elements[7+i] == ELEMENT_WHITESPACE) then -- '10:28:27, 3 May '
if (elements[8+i] == ELEMENT_FOURDIGITS) then -- '10:28:27, 3 May 2013'
if (numberOfElements == 8+i) then return checkAndOutput(values[78+i], values[56+i], values[34+i], possibleHour, possibleMinute, possibleSecond) end
end
end
end
end
elseif (elements[34+i] == ELEMENT_MONTHWORD) then -- '10:28:27, May'
if (elements[45+i] == ELEMENT_WHITESPACE) then -- '10:28:27, May '
if (elements[56+i] == ELEMENT_ONETWODIGITS) then -- '10:28:27, May 3'
if (elements[67+i] == ELEMENT_COMMA or elements[6+i] == ELEMENT_WHITESPACE) then -- '10:28:27, May 3, '
if (elements[78+i] == ELEMENT_FOURDIGITS) then -- '10:28:27, May 3, 2013'
if (numberOfElements == 8+i) then return checkAndOutput(values[78+i], values[34+i], values[56+i], possibleHour, possibleMinute, possibleSecond) end
end
end
end
end
elseif (elements[34+i] == ELEMENT_FOURDIGITS) then -- '10:28:27, 2013'
if (elements[45+i] == ELEMENT_DATESEPARATOR) then -- '10:28:27, 2013-'
if (elements[56+i] == ELEMENT_ONETWODIGITS) then -- '10:28:27, 2013-05'
if (elements[67+i] == ELEMENT_DATESEPARATOR) then -- '10:28:27, 2013-05-'
if (elements[78+i] == ELEMENT_ONETWODIGITS) then -- '10:28:27, 2013-05-03'
if (numberOfElements == 8+i) then return checkAndOutput(values[34+i], values[56+i], values[78+i], possibleHour, possibleMinute, possibleSecond) end
end
end