diff --git a/WeatherApp/modules/database.py b/WeatherApp/modules/database.py index 230bcba..3f4cf14 100644 --- a/WeatherApp/modules/database.py +++ b/WeatherApp/modules/database.py @@ -29,6 +29,7 @@ class Database: AVG(wind_speed) as avg_wind_speed, GROUP_CONCAT(DISTINCT weather_description) as descriptions FROM weather_forecast + WHERE DATE(utc) >= DATE(NOW()) GROUP BY DATE(utc) ORDER BY date ASC """