UA 6105 then UA 5822 at O'Hare
Lewisburg → Chicago → Milwaukee
Timetable, Chicago time
12:45UA 6105 from Lewisburg at the gate
07:30UA 5822 to Milwaukee leaves the gate
18 h 45 apart on the timetable, overnight
UA 5822 leaves 18 h 45 after UA 6105 arrives on the timetable: more than half a day, so not a connection we count.