WN 512 then UA 8102 at San Francisco
Los Angeles → San Francisco → St Louis
Timetable, San Francisco time
15:40WN 512 from Los Angeles at the gate
12:15UA 8102 to St Louis leaves the gate
20 h 35 apart on the timetable, overnight
UA 8102 leaves 20 h 35 after WN 512 arrives on the timetable: more than half a day, so not a connection we count.