JA 5173 then G3 6779 at Bogotá
Santa Marta → Bogota → Riohacha
Timetable, Bogota time
23:35JA 5173 from Santa Marta at the gate
11:55G3 6779 to Riohacha leaves the gate
12 h 20 apart on the timetable, overnight
G3 6779 leaves 12 h 20 after JA 5173 arrives on the timetable: more than half a day, so not a connection we count.