mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-26 12:17:19 +02:00
fmt
This commit is contained in:
parent
dc2ee91b7e
commit
9420739c3c
1 changed files with 5 additions and 6 deletions
|
@ -11,11 +11,11 @@ use crate::util::{Event, Events};
|
||||||
use std::cmp::Ordering;
|
use std::cmp::Ordering;
|
||||||
use std::convert::TryInto;
|
use std::convert::TryInto;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
use std::fs;
|
||||||
|
use std::path::Path;
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
use std::result::Result;
|
use std::result::Result;
|
||||||
use std::time::SystemTime;
|
use std::time::SystemTime;
|
||||||
use std::fs;
|
|
||||||
use std::path::Path;
|
|
||||||
|
|
||||||
use task_hookrs::date::Date;
|
use task_hookrs::date::Date;
|
||||||
use task_hookrs::import::import;
|
use task_hookrs::import::import;
|
||||||
|
@ -952,11 +952,10 @@ impl TTApp {
|
||||||
let max_delta = Duration::from_secs(60);
|
let max_delta = Duration::from_secs(60);
|
||||||
Ok(now.duration_since(prev)? > max_delta)
|
Ok(now.duration_since(prev)? > max_delta)
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
Err(_) => Ok(true),
|
Err(_) => Ok(true),
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
Ok(true)
|
Ok(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue