You can only extend the due date after the due date has passed if you have enabled that ability in the policy attached to the assignment (see screenshot). Since old assignments were made with older policies that don’t have this function, you cannot do this unless you unassign that assignment, create a new policy with this ability, and then reassign with that policy attached. Because Learning Activities do not have policies attached to them, you cannot extend these beyond the due date.