Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
awallenfang committed Jan 19, 2025
1 parent ea9bc93 commit 1f23ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion todos/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def add_recurrent_user(self, user):

def get_currently_assigned_user(self) -> User:
if self.recurrent_state is not None:
current_time = now.date()
current_time = now().date()
start_time = self.recurrent_state.started_at

# This feels kinda disgusting, but ig it works. For some reason the DateField doesn't return the same date object as Djangos date method
Expand Down

0 comments on commit 1f23ba2

Please sign in to comment.