diff --git a/src/model/logbook.rs b/src/model/logbook.rs index 7537d43..e63f7cc 100644 --- a/src/model/logbook.rs +++ b/src/model/logbook.rs @@ -101,7 +101,7 @@ impl Logbook { let mut ret = Vec::new(); for log in logs { let date_time_naive = - NaiveDateTime::parse_from_str(&log.departure, "%Y-%m-%d %H:%M:%S").unwrap(); + NaiveDateTime::parse_from_str(&log.departure, "%Y-%m-%d %H:%M").unwrap(); let date_time = Local .from_local_datetime(&date_time_naive) .single()