filter cleanup
This commit is contained in:
parent
d46f5e010e
commit
61232b70fc
1 changed files with 0 additions and 2 deletions
|
|
@ -83,12 +83,10 @@ impl<'a> Filter<'a> {
|
|||
}
|
||||
|
||||
"done-time" => {
|
||||
println!("done-time arg: {}", tokens[1]);
|
||||
let times: Vec<&str> = tokens[1].split("..").collect();
|
||||
if times.len() > 2 {
|
||||
return Err(ParseFilterError::ParseError);
|
||||
}
|
||||
println!(" {:?}", times);
|
||||
if times[0].len() != 0 {
|
||||
f.start_done_time = Some(
|
||||
chrono::DateTime::parse_from_rfc3339(times[0])?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue