From e56737b5cc3e9d3f8c9574c6a5e96f3e1f82e549 Mon Sep 17 00:00:00 2001 From: Jeremy Freeman Date: Mon, 8 Jan 2018 12:32:50 -0500 Subject: [PATCH] extend the hard coded due date by 1 week. --- schools/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schools/models.py b/schools/models.py index b13ff53..31a0f09 100644 --- a/schools/models.py +++ b/schools/models.py @@ -299,7 +299,7 @@ def due_date(self): tz = self.created_at.tzinfo if (self.created_at < timezone.datetime(2018, 1, 7, tzinfo=tz) and self.created_at > timezone.datetime(2017, 12, 30, tzinfo=tz)): - hard_coded_due_date = timezone.datetime(2018, 1, 9, tzinfo=tz) + hard_coded_due_date = timezone.datetime(2018, 1, 15, tzinfo=tz) return hard_coded_due_date.date() return (self.created_at + datetime.timedelta(30)).date()