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