יחידה:LocationAndCountry: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 118: שורה 118:


if timestamp then
if timestamp then
if before and HeDateUtils.le(timestamp, before) then --the claim list is sorted by before
if after == nil and before and not HeDateUtils.le(timestamp, before) then
break
elseif after == nil and before and not HeDateUtils.le(timestamp, before) then
table.insert(bestClaims, eachPropClaim)
table.insert(bestClaims, eachPropClaim)
elseif after and before and not HeDateUtils.le(timestamp, before) and HeDateUtils.le(timestamp, after)  then  
elseif after and before and not HeDateUtils.le(timestamp, before) and HeDateUtils.le(timestamp, after)  then