diff --git a/src/cli/mod.rs b/src/cli/mod.rs index e8abf59..25a3981 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -86,7 +86,7 @@ pub fn parse_duration(s: &str) -> Result { "d" => (Duration::from_secs(num as u64 * 60 * 60 * 24)).as_secs(), _ => unreachable!(), }; - Ok(timestamp as u64) + Ok(timestamp) } else { Err("invalid duration") }