Add predictions to api (fixes)
This commit is contained in:
parent
f2224ed6b0
commit
b3d053b06f
@ -30,7 +30,7 @@ router = APIRouter(
|
||||
|
||||
def daterange(start_date: datetime.date, end_date: datetime.date):
|
||||
days = int((end_date - start_date).days)
|
||||
for n in range(days):
|
||||
for n in range(days + 1):
|
||||
yield datetime.datetime.combine(start_date + datetime.timedelta(n), datetime.datetime.min.time())
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user