JA 5179 then JA 5620 at Bogotá
Santa Marta → Bogota → Bucaramanga
Timetable, Bogota time
23:30JA 5179 from Santa Marta at the gate
15:20JA 5620 to Bucaramanga leaves the gate
15 h 50 apart on the timetable, overnight
JA 5620 leaves 15 h 50 after JA 5179 arrives on the timetable: more than half a day, so not a connection we count.