UA 3904 then MU 590 at San Francisco
Denver → San Francisco → Shanghai
Timetable, San Francisco time
22:50UA 3904 from Denver at the gate
12:00MU 590 to Shanghai leaves the gate
13 h 10 apart on the timetable, overnight
MU 590 leaves 13 h 10 after UA 3904 arrives on the timetable: more than half a day, so not a connection we count.