<%= queryDate.toLocaleString('default', { month: 'long' }) %> <%= year %>

<% for (let i = 0; i < 6; i++) { %> <% for (let j = 0; j < 7; j++) { %> <% } %> <% } %>
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
<% const day = days[i * 7 + j]; %> <%= day ? day.getDate() : '' %>