AA 2359 then UA 5609 at O'Hare
Buffalo → Chicago → Appleton
Timetable, Chicago time
09:05AA 2359 from Buffalo at the gate
22:00UA 5609 to Appleton leaves the gate
12 h 55 apart on the timetable
UA 5609 leaves 12 h 55 after AA 2359 arrives on the timetable: more than half a day, so not a connection we count.