Module:Calendar date/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 200:
if jsoncfg.main.event[it].datasource then
startdate = jsoncfg.main.event[it].datasource
enddate = dateOffset(startdate, jsonjsoncfg.main.event[it].days - 1)
else
return inlineError("holiday", 'Invalid calculator result' )
Line 215:
end
if hits >= tonumber(jsoncfg.main.event[it].days) then
enddate = jsonjsonlocal.items[i].date
break
end