Fix copy-paste bug

This commit is contained in:
Matthias Beyer 2017-08-30 23:19:47 +02:00
parent 00b8d5192c
commit bc74ea7e41

View file

@ -69,7 +69,7 @@ pub fn list(rt: &Runtime) -> i32 {
};
let end_time_filter = |timetracking: &FileLockEntry| {
start.map(|s| match timetracking.get_end_datetime() {
end.map(|s| match timetracking.get_end_datetime() {
Ok(Some(dt)) => dt <= s,
Ok(None) => list_not_ended,
Err(e) => {