Skip to content

Commit

Permalink
Update window period (#4)
Browse files Browse the repository at this point in the history
* set 60 days
  • Loading branch information
lideke authored Oct 20, 2023
1 parent 13804a9 commit b54c514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_bamboohr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def daterange(date1, date2):

def generate_dates_to_today(date_from_str:str):
format = '%Y-%m-%d'
date_from = datetime.datetime.strptime(date_from_str, format)-timedelta(days=15)
date_from = datetime.datetime.strptime(date_from_str, format)-timedelta(days=60)
date_to = datetime.datetime.today()

for dt in daterange(date_from, date_to):
Expand Down

0 comments on commit b54c514

Please sign in to comment.