You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, get_current_meal in helpers.py uses hard-coded times to separate each meal, but it should read from the schedule data in location_management.py to figure out the meal schedule. Specifically, on weekends dinner starts at 3:30 PM but on weekdays dinner starts at 4:30 PM. We could hard-code that but I think it's better to dynamically read the schedule.
The text was updated successfully, but these errors were encountered:
EricPedley
changed the title
Different meal schedule for weekends
Use dynamic meal schedule in helpers
Mar 14, 2022
Right now,
get_current_meal
inhelpers.py
uses hard-coded times to separate each meal, but it should read from the schedule data inlocation_management.py
to figure out the meal schedule. Specifically, on weekends dinner starts at 3:30 PM but on weekdays dinner starts at 4:30 PM. We could hard-code that but I think it's better to dynamically read the schedule.The text was updated successfully, but these errors were encountered: