Content deleted Content added
geez that was it |
add m-my and my-my |
||
Line 553:
elseif (elements[3] == ELEMENT_FOURDIGITS) then -- 'May 2013'
if (numberOfElements == 3) then return checkAndOutput(values[3], values[1], nil, nil, nil, nil) end
if (elements[4] == ELEMENT_DASH) then -- 'May 2013 -'
if (elements[5] == ELEMENT_MONTHWORD) then -- 'May 2013 - June'
if (elements[6] == ELEMENT_WHITESPACE) then -- 'May 2013 - June '
if (elements[7] == ELEMENT_FOURDIGITS) then -- 'May 2013 - June 2013'
if (numberOfElements == 7) then return checkAndOutput(values[3], values[1], nil, nil, nil, nil, values[7], values[5], nil, nil, nil, nil) end
end
end
end
end
end
elseif (elements[2] == ELEMENT_DASH) then -- 'May - '
if (elements[3] == ELEMENT_MONTHWORD) then -- 'May - June'
if (elements[4] == ELEMENT_WHITESPACE) then -- 'May - June '
if (elements[5] == ELEMENT_FOURDIGITS) then -- 'May - June 2013'
if (numberOfElements == 5) then return checkAndOutput(values[5], values[1], nil, nil, nil, nil, values[5], values[3], nil, nil, nil, nil) end
end
end
end
end
|