AC 118 then AC 800 at Toronto Pearson
Vancouver → Toronto → Dublin
Timetable, Toronto time
23:59AC 118 from Vancouver at the gate
19:45AC 800 to Dublin leaves the gate
19 h 46 apart on the timetable, overnight
AC 800 leaves 19 h 46 after AC 118 arrives on the timetable: more than half a day, so not a connection we count.