UA 1341 then AC 5332 at San Francisco
Detroit → San Francisco → Chicago O'Hare
Timetable, San Francisco time
19:31UA 1341 from Detroit at the gatealso OZ 9538
17:10AC 5332 to Chicago O'Hare leaves the gatealso NZ 9310
21 h 39 apart on the timetable, overnight
AC 5332 leaves 21 h 39 after UA 1341 arrives on the timetable: more than half a day, so not a connection we count.