Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Oct 13, 2023
1 parent b237259 commit 0d42907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 0d42907

Please sign in to comment.