show hourly forecasts after current time

This commit is contained in:
Ryan Peters 2023-04-03 21:20:39 -04:00
parent 7f2b0cb41b
commit e014128ddc

View File

@ -34,6 +34,7 @@
};
var hourForecasts = forecast.HourForecasts
.Where(f => f.Time > DateTime.Now)
.Join(displayHours, f => f.Time.Value.Hour, d => d.Key, (f, d) => new
{
TimeOfDay = d.Value,