The workstep instance due date available in the pre-script is the due date based on the system calendar. Since the pre script can modify the dataslot value used as the performer, the due date cannot be based on the performer before pre-script execution.
Once the pre-script is executed, BP Server updates the workstep instance due date appropriately based on the calendar of the performer if it happens to be a single Group.