canvas-lms/ui
Ed Schiebel 4529300ee2 Compress course pace dates if projected end is after pace end
- 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>
2022-04-01 15:06:12 +00:00
..
boot submit datepicker usage 2022-03-30 21:06:12 +00:00
ext setup moment for catalan only when i18n is ready 2022-03-16 16:37:46 +00:00
features Compress course pace dates if projected end is after pace end 2022-04-01 15:06:12 +00:00
shared Form Validation in Outcome Modal 2022-03-31 20:08:14 +00:00
shims webpack: remove support for virtual i18n! modules 2022-03-10 21:38:10 +00:00
.eslintrc.js Add typescript support 2021-08-18 18:21:17 +00:00
.i18nrc Add typescript support 2021-08-18 18:21:17 +00:00
.xssignore rename some things 2021-04-06 01:12:49 +00:00
global.d.ts spec: remove .js extension from spec imports 2022-03-17 18:39:17 +00:00
imports.d.ts More TypeScript in GradebookGrid 2022-03-18 20:11:49 +00:00
index.js use per-language instead of per-scope translation files 2022-02-18 00:10:23 +00:00