From ab457240e3cfff5172f26658f27aa5bfe54e0eac Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Wed, 31 Oct 2018 11:34:46 -0500 Subject: [PATCH] Don't use dt.combine --- forecast.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/forecast.py b/forecast.py index d8a3bd5759..dfc8f9c158 100644 --- a/forecast.py +++ b/forecast.py @@ -119,8 +119,7 @@ def __get_forecast(self): # Get the furthest date in the future we can get a forecast for max_forecast_date = dt.now().date() + timedelta(days=MAX_FORECAST_LEN) - furthest_date_requested = dt.combine(date_start, - timedelta(days=forecast_length)) + furthest_date_requested = date_start + timedelta(days=forecast_length) # Check to see that the forecast dates requested are not too far into # the future