Since 74c33f2fe011, the method has been replaced by set_planned_start_date, the pattern has been remove to stay only on compute_lead_time. Closes #12423
We should not modify the caller mutable structure.