AA 6212 then UA 5679 at O'Hare
Madison → Chicago → Fargo
Timetable, Chicago time
12:55AA 6212 from Madison at the gate
12:45UA 5679 to Fargo leaves the gate
23 h 50 apart on the timetable, overnight
UA 5679 leaves 23 h 50 after AA 6212 arrives on the timetable: more than half a day, so not a connection we count.