JA 5179 then LA 4282 at Bogotá
Santa Marta → Bogota → Riohacha
Timetable, Bogota time
23:30JA 5179 from Santa Marta at the gate
14:10LA 4282 to Riohacha leaves the gate
14 h 40 apart on the timetable, overnight
LA 4282 leaves 14 h 40 after JA 5179 arrives on the timetable: more than half a day, so not a connection we count.