mirror of
https://github.com/Xevion/factorio-achievements-fixer.git
synced 2025-12-16 12:11:50 -06:00
Apply 'ago' at root
This commit is contained in:
@@ -101,14 +101,13 @@ pub fn find_save_files() -> Vec<SaveFile> {
|
|||||||
)
|
)
|
||||||
.to_string()
|
.to_string()
|
||||||
.replace(" ", "")
|
.replace(" ", "")
|
||||||
+ " ago"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
save_files.push(SaveFile {
|
save_files.push(SaveFile {
|
||||||
name: file_name.to_string(),
|
name: file_name.to_string(),
|
||||||
size: human_bytes(metadata.len() as f64),
|
size: human_bytes(metadata.len() as f64),
|
||||||
path: file_path.to_str().unwrap().to_string(),
|
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,
|
modified_delta: modified_elapsed_secs as usize,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user