Skip to content

Commit b06f7a6

Browse files
committed
End at grade submission deadline
1 parent 3123fd0 commit b06f7a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mazevo_r25/management/commands/r25_mazevo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def handle(self, *args, **options):
133133
import_term = {
134134
"termDescription": "{} {}".format(term.quarter, term.year).title(),
135135
"startDate": term.first_day_quarter.isoformat(),
136-
"endDate": term.last_final_exam_date.isoformat(),
136+
"endDate": term.grade_submission_deadline.isoformat(),
137137
}
138138

139139
logger.info("Retrieving R25 reservations for {}".format(
@@ -159,7 +159,7 @@ def handle(self, *args, **options):
159159
Event.CONFIRMED_STATE,
160160
Event.SEALED_STATE]),
161161
reservation_start_dt=term.first_day_quarter.isoformat(),
162-
reservation_end_dt=term.last_final_exam_date.isoformat(),
162+
reservation_end_dt=term.grade_submission_deadline.isoformat(),
163163
category_id="+".join(settings.MAZEVO_R25_CATEGORIES_UNLISTED))
164164

165165
unlisted_event_ids = unlisted_events.keys()
@@ -178,7 +178,7 @@ def handle(self, *args, **options):
178178
Reservation.WARNING_STATE,
179179
Reservation.OVERRIDE_STATE]),
180180
start_dt=term.first_day_quarter.isoformat(),
181-
end_dt=term.last_final_exam_date.isoformat(),
181+
end_dt=term.grade_submission_deadline.isoformat(),
182182
paginate=paginate, page=page, page_size=1000)
183183

184184
if page == 1:

0 commit comments

Comments
 (0)