Apply 'ago' at root

This commit is contained in:
2024-11-28 15:58:15 -06:00
parent dfc4e82721
commit 602a9a4267

View File

@@ -101,14 +101,13 @@ pub fn find_save_files() -> Vec<SaveFile> {
)
.to_string()
.replace(" ", "")
+ " ago"
};
save_files.push(SaveFile {
name: file_name.to_string(),
size: human_bytes(metadata.len() as f64),
path: file_path.to_str().unwrap().to_string(),
last_modified: human_last_modified,
last_modified: human_last_modified + " ago",
modified_delta: modified_elapsed_secs as usize,
});
}