Module:Sandbox/Hellknowz/Test: Difference between revisions

Content deleted Content added
another fix
add y-y case
Line 187:
return ELEMENT_DATESEPARATOR, foundMatch, (currentPosition > #seekString)
else
return ELEMENT_DASH, foundMatch, (currentPosition > #seekString) -- we will actually need to check for DATESEPARATOR as well, as that one stole the '-' case
end
end
Line 400:
end
end
end
elseif (elements[2] == ELEMENT_DATESEPARATOR or elements[2] == ELEMENT_DASH) then -- '2013 - '
if (elements[3] == ELEMENT_FOURDIGITS) then -- '2013 - 2014'
if (numberOfElements == 3) then return checkAndOutput(values[1], nil, nil, nil, nil, nil, values[3], nil, nil, nil, nil, nil) end
end
end
 
 
elseif (elements[1] == ELEMENT_MONTHWORD) then -- 'May'