<%= dateObj.toLocaleDateString('en-US', { weekday: 'short' }) %>
<%= dateObj.getDate() %>
<% if (meal_plans[dateStr] && meal_plans[dateStr].length > 0) { %>
<% meal_plans[dateStr].forEach(plan => { %>
<% plan.foods.forEach(food => { %>
- • <%= food.name %>
<% }); %>
<%= Math.round(plan.totals.calories) %> cal
P:<%= Math.round(plan.totals.protein) %>
<% }); %>
<% } else { %>
No meals planned
<% } %>