JA 5177 then AV 125 at Bogotá
Santa Marta → Bogota → Quito
Timetable, Bogota time
22:45JA 5177 from Santa Marta at the gate
22:05AV 125 to Quito leaves the gate
23 h 20 apart on the timetable, overnight
AV 125 leaves 23 h 20 after JA 5177 arrives on the timetable: more than half a day, so not a connection we count.