Content deleted Content added
BrokenSegue (talk | contribs) better error |
BrokenSegue (talk | contribs) 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
end
local pointInTime = pointsInTime[1]
Line 120 ⟶ 119:
return parseDate(pointInTime['datavalue']['value']['time'])
end
end
return nil
|