diff --git a/src/tables.py b/src/tables.py index 6a0a508..ba1ed96 100644 --- a/src/tables.py +++ b/src/tables.py @@ -41,7 +41,7 @@ class TableNotification(Base): .filter_by(type='won').all() actual = [] for r in within_3_days: - if r.created_at.replace(tzinfo=tz.tzutc()).astimezone(tz.tzlocal()) == datetime.now(tz=tz.tzlocal()).date(): + if r.created_at.replace(tzinfo=tz.tzutc()).astimezone(tz.tzlocal()).date() == datetime.now(tz=tz.tzlocal()).date(): actual.append(r) return actual