diff --git a/src/model/logbook.rs b/src/model/logbook.rs index 0d2820e..2097e4a 100644 --- a/src/model/logbook.rs +++ b/src/model/logbook.rs @@ -134,8 +134,6 @@ ORDER BY departure DESC let mut ret = Vec::new(); for log in logs { - let date_time = Local.from_local_datetime(&log.departure).single().unwrap(); - ret.push(LogbookWithBoatAndRowers { rowers: Rower::for_log(db, &log).await, boat: Boat::find_by_id(db, log.boat_id as i32).await.unwrap(),