AC 118 then AC 159 at Toronto Pearson
Vancouver → Toronto → Calgary
Timetable, Toronto time
23:59AC 118 from Vancouver at the gate
20:55AC 159 to Calgary leaves the gate
20 h 56 apart on the timetable, overnight
AC 159 leaves 20 h 56 after AC 118 arrives on the timetable: more than half a day, so not a connection we count.