WN 2582 then AA 2627 at Phoenix
Spokane → Phoenix → Santa Barbara
Timetable, Phoenix time
19:40WN 2582 from Spokane at the gate
17:55AA 2627 to Santa Barbara leaves the gate
22 h 15 apart on the timetable, overnight
AA 2627 leaves 22 h 15 after WN 2582 arrives on the timetable: more than half a day, so not a connection we count.