diff --git a/xactfetch.py b/xactfetch.py index 271db71..106bfe2 100644 --- a/xactfetch.py +++ b/xactfetch.py @@ -199,7 +199,7 @@ def get_last_transaction_date(key: int, token: str) -> datetime.date: continue if date > last_date: last_date = date - return last_date.date() + datetime.timedelta(days=1) + return last_date.date() def download_chase( @@ -215,7 +215,7 @@ def download_chase( e, ) return False - if start_date >= end_date: + if start_date > end_date: log.info( 'Skipping Chase account: last transaction was %s', start_date, @@ -247,7 +247,7 @@ def download_commerce( e, ) continue - if start_date >= end_date: + if start_date > end_date: log.info( 'Skipping account %s: last transaction was %s', name,