Changes

m
no edit summary
Line 276: Line 276:  
end
 
end
 
     local dates = U.isort(U.keys(data))
 
     local dates = U.isort(U.keys(data))
self._vars.implementation_date = #dates > 0 and U.ijoin(U.imap(dates, function (d)
+
self._vars.implementation_date = #dates == 0 and "??" or #dates == 1 and dates[1] or U.ijoin(U.imap(dates, function (d)
 
return string.format("%s (%s)", d, U.ijoin(data[d], ", "))
 
return string.format("%s (%s)", d, U.ijoin(data[d], ", "))
end), "<br>") or "??"
+
end), "<br>")
 
end
 
end
  
cssedit, gkautomate
7,064

edits