<% operatingHours.forEach(function (item, index) { %>
<%= item.weekday.slice(0, 1).toUpperCase() + item.weekday.slice(1, 3) %>
<%= item['open_time'] + ' - ' + item['close_time'] %>
<% if (index + 1 < operatingHours.length) { %>
<% } %>
<% }) %>