Skip to content

Commit

Permalink
Fixes #1198 - second message is about date_end (#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm committed Apr 29, 2022
1 parent 32682c0 commit 2008dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/models.py
Expand Up @@ -226,7 +226,7 @@ def course_date_range(self):
elif self.term is not None and self.term.date_end is not None:
end = self.term.get_correct_date_end()
else:
logger.info(f"No date_start value was found for course {self.name} ({self.canvas_id}) or term; setting to current date and time")
logger.info(f"No date_end value was found for course {self.name} ({self.canvas_id}) or term; setting to two weeks past start date.")
end = start + timedelta(weeks=2)
DateRange = namedtuple("DateRange", ["start", "end"])
return DateRange(start, end)
Expand Down

0 comments on commit 2008dea

Please sign in to comment.