You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
pub fn seconds_as_time(secs: &i32) -> ::askama::Result<String> {
|
|
let minutes = secs / 60;
|
|
let seconds = secs % 60;
|
|
Ok(format!("{}:{}", minutes, seconds))
|
|
}
|