openwebwork/webwork2 — pull request #415 by goehle (2014-05-28 16:51:53+00:00)
Title: Reduced Credit Tweak

A small tweak. Now if the reduced credit date is the same as the due date the reduced credit messages do not appear. The purpose of this is so that instructors can turn on reduced credit, set the reduced credit date to be the due date, and then extend the due date individually for specific users to allow them a later due date with reduced credit. (You could always do this, but this prevents spurious warnings from popping up for other users when you do.)

Test by making a homework set with the reduced credit date the same as the due date and checking to see that you don't get warnings on the ProblemSets or ProblemSet page and that reduced credit works when you override it for a given user.

P.S. Since Pete is working with reduced credit a lot this would be a good pull request for him to work with.