diff --git a/generators/utils.py b/generators/utils.py index df6c6c97..a865c5ef 100644 --- a/generators/utils.py +++ b/generators/utils.py @@ -136,7 +136,7 @@ def parse_duration(datestring): def generateDateIsostringsFromInterval(start, end, timedelta_config={}): start_dt = datetime.fromisoformat(start) if end == 'today': - end = datetime.now() + end = datetime.now().isoformat() end_dt = datetime.fromisoformat(end) delta = timedelta(**timedelta_config) dates = []