UA 3901 then UA 1777 at San Francisco
Hong Kong → San Francisco → Vancouver
Timetable, San Francisco time
16:34UA 3901 from Hong Kong at the gate
13:53UA 1777 to Vancouver leaves the gatealso AV 2182
21 h 19 apart on the timetable, overnight
UA 1777 leaves 21 h 19 after UA 3901 arrives on the timetable: more than half a day, so not a connection we count.