Added grace_period, fixed a bug with extra late date and extensions, … #625
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added @zardus suggested grace_period and fixed a bug with extensions and extra late date where a submission was not getting counted when it fell in between the two dates after an extension was added.
While working on those items, I also improved the due date messages on the module page. 1) If we are past the first due date but there's an extra late due date then it will show that date. 2) If both dates are passed, it will now display that the due dates have passed instead of just being blank. 3) If the creator has
show_penalty
set in thecourse.yml
then it will show the current flag values (i.e., the penalty adjusted percentage).