UA 2091 then UA 5566 at O'Hare
San Francisco → Chicago → Pittsburgh
Timetable, Chicago time
12:59UA 2091 from San Francisco at the gate
12:48UA 5566 to Pittsburgh leaves the gate
23 h 49 apart on the timetable, overnight
UA 5566 leaves 23 h 49 after UA 2091 arrives on the timetable: more than half a day, so not a connection we count.