Display the arrival time correctly

This commit is contained in:
2026-05-21 07:40:01 +01:00
parent cef6faa05f
commit c13411065a
9 changed files with 173 additions and 35 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
use std::collections::{HashMap, HashSet};
use chrono::NaiveTime;
use gtfs_structures::{Agency, Calendar, CalendarDate, RawStopTime, RawTrip, Route, Stop};
// This is to store the preferences for the GTFS(-R) side of the code.
@@ -32,7 +31,7 @@ pub struct Gtfs {
#[derive(Debug)]
pub struct Arrival<'a> {
pub departure_time: i64,
pub departure_time: u32,
pub route: &'a Route,
pub stop: &'a Stop,
pub stop_time: &'a RawStopTime,