Skip to content

Commit b3739b1

Browse files
committed
suggested fix for gps feature, sorting timestamps
1 parent b26a3a4 commit b3739b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

daemon/src/gps.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ pub async fn load_gps_records(file: tokio::fs::File) -> Vec<GpsRecord> {
9494
}
9595
}
9696
}
97+
records.sort_by_key(|r| r.unix_ts);
9798
records
9899
}
99100

0 commit comments

Comments
 (0)