Revert "Fixed date comparision"
This reverts commit 0a475b9f9970ca7880533b81b1843e28b6dea9a6.
This commit is contained in:
parent
0a475b9f99
commit
da22468900
@ -85,8 +85,7 @@ class Habit:
|
||||
count = 0
|
||||
self.checked = False
|
||||
for tracking in self.get_habitTrackings():
|
||||
print(tracking.created_at, datetime.today())
|
||||
if tracking.created_at.date() == datetime.today().date():
|
||||
if tracking.created_at == datetime.today():
|
||||
self.checked = True
|
||||
|
||||
# day
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user