UA 651 then WN 1871 at LAX
Baltimore → Los Angeles → San Francisco
Timetable, Los Angeles time
14:18UA 651 from Baltimore at the gate
13:00WN 1871 to San Francisco leaves the gate
22 h 42 apart on the timetable, overnight
WN 1871 leaves 22 h 42 after UA 651 arrives on the timetable: more than half a day, so not a connection we count.