fix(TimeMetrics Struct): parser of time metric from command argument
This commit is contained in:
parent
da5edc1aac
commit
f9a6c9645b
|
@ -10,7 +10,7 @@ pub type ExtractedDuration = (NaiveDateTime, String, i64);
|
|||
|
||||
pub fn get_duration(time: TimeValues) -> ExtractedDuration {
|
||||
let time_duration = time.0.extract();
|
||||
let unmute_date = unrestrict_date(time_duration);
|
||||
let unmute_date = unrestrict_date(time);
|
||||
let postfix = CountableTime::from_value(time_duration)
|
||||
.get_postfix(time.0)
|
||||
.unwrap();
|
||||
|
|
Loading…
Reference in New Issue