AC 142 then BR 659 at Toronto Pearson
Calgary → Toronto → Taipei
Timetable, Toronto time
17:36AC 142 from Calgary at the gate
15:31BR 659 to Taipei leaves the gate
21 h 55 apart on the timetable, overnight
BR 659 leaves 21 h 55 after AC 142 arrives on the timetable: more than half a day, so not a connection we count.