<% if (plugins.poopmap) { %>
<% if (plugins.poopmap.error) { %>
<%= plugins.poopmap.error.message %>
<% } else { %>

Poops per hour of day

over the last <%- plugins.poopmap.days %> days
<% let displayedValues = []; %> <% let poops = plugins.poopmap.poops %> <% for (let h = 0; h < 24; h++) { displayedValues.push([h, (poops[h] || 0)/(poops.max || 1), poops[h]]) } %> <% for(const [h, percentage, value] of displayedValues) { %>
<%= value %>
<%= `${h}`.padStart(2, 0) %>
<% } %>
<% } %>
<% } %>