Project: moodle
Issue MDL-51504: Template due date must not be set in the past
We need to validate the due date so that it cannot be set in the past: - For new templates. - For existing templates updating their due date. No need to bother about user plans for now.
Story points: 1