Module:YouTubeSubscribers: Difference between revisions

Content deleted Content added
better error
more specific error
Line 113:
if #pointsInTime ~= 1 then
-- be conservative in what we accept
error("Encountered a statement with zero or multiple point in time (P85) qualifiers. Please add or remove point in time information. so each statement has exactly one")
return nil
end
local pointInTime = pointsInTime[1]
Line 120 ⟶ 119:
return parseDate(pointInTime['datavalue']['value']['time'])
end
end
return nil