UA 1655 then UA 5191 at O'Hare
Calgary → Chicago → Lancaster
Timetable, Chicago time
17:10UA 1655 from Calgary at the gate
08:50UA 5191 to Lancaster leaves the gate
15 h 40 apart on the timetable, overnight
UA 5191 leaves 15 h 40 after UA 1655 arrives on the timetable: more than half a day, so not a connection we count.