UA 2866 then UA 1885 at San Francisco
Chicago O'Hare → San Francisco → Detroit
Timetable, San Francisco time
19:28UA 2866 from Chicago O'Hare at the gate
08:26UA 1885 to Detroit leaves the gate
12 h 58 apart on the timetable, overnight
UA 1885 leaves 12 h 58 after UA 2866 arrives on the timetable: more than half a day, so not a connection we count.