UA 1791 then UA 1885 at San Francisco
San Diego → San Francisco → Detroit
Timetable, San Francisco time
11:25UA 1791 from San Diego at the gatealso AZ 4448, VA 8583
08:26UA 1885 to Detroit leaves the gate
21 h 01 apart on the timetable, overnight
UA 1885 leaves 21 h 01 after UA 1791 arrives on the timetable: more than half a day, so not a connection we count.