Content deleted Content added
Andreyyshore (talk | contribs) No edit summary |
Andreyyshore (talk | contribs) No edit summary |
||
Line 29:
:wikitext(message or "Invalid input")
return tostring(span)
end▼
if day2 == nil or month2 == nil or year2 == nil then▼
day2 = day1▼
month2 = month1▼
year2 = year1▼
end
Line 43 ⟶ 37:
}}
time1 = tonumber(time1:gsub("−", "-") .. "")▼
time2 = frame:expandTemplate{title = "Age in days", args = {▼
}}▼
▲ if day2 == nil or month2 == nil or year2 == nil then
▲ time1 = tonumber(time1)
else
time2 = tonumber(time2:gsub("−", "-") .. "")
▲ end
if time1 > 0 then
|