Module:Sandbox/Hellknowz/Test: Difference between revisions

Content deleted Content added
add range
m 11
Line 449:
if (elements[2] == ELEMENT_WHITESPACE) then -- 'May '
if (elements[3] == ELEMENT_ONETWODIGITS) then -- 'May 3'
if (elements[4] == ELEMENT_COMMA or elements[4] == ELEMENT_WHITESPACE) then -- 'May 3, '
if (elements[5] == ELEMENT_FOURDIGITS) then -- 'May 3, 2013'
if (numberOfElements == 5) then return checkAndOutput(values[5], values[1], values[3], nil, nil, nil) end
Line 478:
if (elements[10] == ELEMENT_COMMA or elements[10] == ELEMENT_WHITESPACE) then -- 'May 3, 2013 - February 12, '
if (elements[11] == ELEMENT_FOURDIGITS) then -- 'May 3, 2013 - February 12, 2014'
if (numberOfElements == 1211) then return checkAndOutput(values[5], values[1], values[3], nil, nil, nil, values[11], values[7], values[9], nil, nil, nil) end
end
end