Skip to content

Commit

Permalink
changed filter to false for filtering times for min/max trains
Browse files Browse the repository at this point in the history
  • Loading branch information
Roco-scientist committed Sep 1, 2021
1 parent 234ac8c commit bde342b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/train_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn max_min_times(
station: &str,
route_code: &str,
) -> Result<Option<[DateTime<Local>; 2]>, Box<dyn Error>> {
if let Some(scheduled_times) = get_scheduled_times(station, dir_code, route_code, true)? {
if let Some(scheduled_times) = get_scheduled_times(station, dir_code, route_code, false)? {
let mut all_times = scheduled_times
.values()
.map(|date| date.clone())
Expand Down

0 comments on commit bde342b

Please sign in to comment.