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