Module:Timeline of release years: Difference between revisions

Content deleted Content added
No edit summary
?
Line 92:
if tonumber(args.last) then
lastyear = tonumber(args.last)
else
elseif TBA then
forlocal i_ = os.date('%Y') +TBA 3,and os.date('%Y'), -1or dofirstyear
 
for i = os.date('%Y') + 3, firstyear_, -1 do
if isYearReleased(args, i) then
lastyear = i
Line 99 ⟶ 101:
else
lastyear = os.date('%Y')
end
end
else
for i = os.date('%Y') + 3, firstyear, -1 do
if isYearReleased(args, i) then
lastyear = i
break
end
end