show hourly forecasts after current time
This commit is contained in:
parent
7f2b0cb41b
commit
e014128ddc
@ -34,6 +34,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
var hourForecasts = forecast.HourForecasts
|
var hourForecasts = forecast.HourForecasts
|
||||||
|
.Where(f => f.Time > DateTime.Now)
|
||||||
.Join(displayHours, f => f.Time.Value.Hour, d => d.Key, (f, d) => new
|
.Join(displayHours, f => f.Time.Value.Hour, d => d.Key, (f, d) => new
|
||||||
{
|
{
|
||||||
TimeOfDay = d.Value,
|
TimeOfDay = d.Value,
|
||||||
|
Loading…
Reference in New Issue
Block a user