{#await remoteBirthdays} {:then birthdaysResponse} {#await birthdaysResponse.json()} {:then birthdays} {@const todaysBirthdays = birthdays.filter( (birthday: { month: number; day: number }) => birthday.month === month && birthday.day === day )}
{#each Array.from({ length: 12 }, (_, i) => i + 1) as month} {new Date(0, month - 1).toLocaleString('default', { month: 'long' })} {/each} {#each Array.from({ length: new Date(2024, month, 0).getDate() }, (_, i) => i + 1) as day} {day} {/each}