AC 28 then BR 659 at Toronto Pearson
Shanghai → Toronto → Taipei
Timetable, Toronto time
18:50AC 28 from Shanghai at the gate
15:31BR 659 to Taipei leaves the gate
20 h 41 apart on the timetable, overnight
BR 659 leaves 20 h 41 after AC 28 arrives on the timetable: more than half a day, so not a connection we count.