QF 7554 then UA 2189 at O'Hare
New York JFK → Chicago → New York LaGuardia
Timetable, Chicago time
17:30QF 7554 from New York JFK at the gate
13:00UA 2189 to New York LaGuardia leaves the gate
19 h 30 apart on the timetable, overnight
UA 2189 leaves 19 h 30 after QF 7554 arrives on the timetable: more than half a day, so not a connection we count.