JA 5157 then AV 8396 at Bogotá
Cartagena → Bogota → Quito
Timetable, Bogota time
23:40JA 5157 from Cartagena at the gate
23:30AV 8396 to Quito leaves the gate
23 h 50 apart on the timetable, overnight
AV 8396 leaves 23 h 50 after JA 5157 arrives on the timetable: more than half a day, so not a connection we count.