AC 2331 then AC 1231 at Toronto Pearson
Ottawa → Toronto → Nashville
Timetable, Toronto time
19:32AC 2331 from Ottawa at the gate
18:20AC 1231 to Nashville leaves the gate
22 h 48 apart on the timetable, overnight
AC 1231 leaves 22 h 48 after AC 2331 arrives on the timetable: more than half a day, so not a connection we count.