comparison fix
This commit is contained in:
parent
dc3686956c
commit
de4450a29a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue