Skip to content

Commit

Permalink
Merge pull request #119 from uw-it-aca/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
fanglinfang committed Sep 17, 2019
2 parents fb3db8c + 5985199 commit c8a5eb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uw_sws/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ def is_current(self, comparison_datetime):
comparison_datetime < self.get_end_of_the_term())

def is_past(self, comparison_datetime):
return (self.get_end_of_the_term() is None or
return (self.get_end_of_the_term() is None and
comparison_datetime > self.get_eod_last_final_exam() or
comparison_datetime > self.get_end_of_the_term())

def is_future(self, comparison_datetime):
Expand Down

0 comments on commit c8a5eb5

Please sign in to comment.