Removed the showTomorrow value and associated conditional statement from index.ejs in order to always show tomorrow's weather, regardless of what time it is.
Note: It might be possible to make rendering the partials/daily view for tomorrow's weather slightly more efficient by adding a check before displaying forecast-secondary content so as to not even check it tomorrow is more than 6 hours away, but that might be overkill.
@Polidoro, thanks for your PR! By analyzing the history of the files in this pull request, we identified @JulianNorton, @modelm and @ryanwr to be potential reviewers.
Removed the
showTomorrow
value and associated conditional statement fromindex.ejs
in order to always show tomorrow's weather, regardless of what time it is.Note: It might be possible to make rendering the partials/daily view for tomorrow's weather slightly more efficient by adding a check before displaying
forecast-secondary
content so as to not even check it tomorrow is more than 6 hours away, but that might be overkill.