Skip to content

Handle null meal-planning event dates#56

Open
tdanner wants to merge 1 commit intokevdliu:masterfrom
tdanner:meal-queue-dates
Open

Handle null meal-planning event dates#56
tdanner wants to merge 1 commit intokevdliu:masterfrom
tdanner:meal-queue-dates

Conversation

@tdanner
Copy link
Copy Markdown

@tdanner tdanner commented Feb 28, 2026

AnyList added a meal planning queue feature a few months ago. In the API, it appears that items in this queue show up as meal planning events with a date of null. When presented with this, lib/meal-planning-calendar-event.js sets MealPlanningCalendarEvent.date to new Date() which looks like "now". This confused one of my personal tools into thinking we were having a great feast for dinner every day.

This PR changes MealPlanningCalendarEvent to pass along these null dates enabling consumers to identify meal plan queue items separately from meals planned for a specific date.

AI - this was implemented with gpt-5.3-codex, then manually tested and reviewed by me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant