- we no longer require hard_end_dates to be part of the calculation.
- when a course ends at midnight, we end the pace at fancy midnight
the day before
closes LS-3057
flag=course_pacing
test plan:
- in a course with an end date
- have a course pace
- increase an assignment duration to push the last assignment's
due date beyone the course end date
> expect the dates to be compressed to fit
- NOTE: it may be 1 day late, but that's coming from the api
> expect the "weeks | days" to stop incrementing when we
start compressing
- switch to a student plan
> expect the due dates to be the same (be sure to check with
a compressed pace)
- look at the last assignment in the pace
> expect the due date for the course students to be the end of
the day shown in the pace.
Change-Id: Ibb13e3f0d00b99da5d9dee5d0ebca52ad4e60ea7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/288309
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>