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