Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only show meals that are in the future #8

Open
evanhsu opened this issue Oct 10, 2023 · 0 comments
Open

Only show meals that are in the future #8

evanhsu opened this issue Oct 10, 2023 · 0 comments
Labels
enhancement New feature or request hacktoberfest This issue is a good pick for a hacktoberfest contribution

Comments

@evanhsu
Copy link
Owner

evanhsu commented Oct 10, 2023

Current behavior

The menu for "today" is shown all day (until midnight). When the numberOfDaysToDisplay config option is set to 1, this typically isn't the info that you're interested in (meals that already happened).

Desired behavior

When the numberOfDaysToDisplay config option is set to 1, the menu for "today" should be shown until lunchtime has ended, then the menu for tomorrow should be shown instead. We could probably switch to "tomorrow's" menu at 2pm local time.

When the numberOfDaysToDisplay config option is set to something greater than 1, we should preserve existing behavior (today's menu is shown until midnight)

@evanhsu evanhsu added enhancement New feature or request hacktoberfest This issue is a good pick for a hacktoberfest contribution labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest This issue is a good pick for a hacktoberfest contribution
Projects
None yet
Development

No branches or pull requests

1 participant