UA 2838 then UA 4789 at O'Hare
New York LaGuardia → Chicago → Fargo
Timetable, Chicago time
20:08UA 2838 from New York LaGuardia at the gate
19:45UA 4789 to Fargo leaves the gate
23 h 37 apart on the timetable, overnight
UA 4789 leaves 23 h 37 after UA 2838 arrives on the timetable: more than half a day, so not a connection we count.