use mtime

This commit is contained in:
2023-11-27 00:14:11 +01:00
parent 8348f3831d
commit 6f609dbfc8
+1 -1
View File
@@ -110,7 +110,7 @@ fn process_camera_pics() -> anyhow::Result<()> {
let mut pic = Pic {
crop,
thumb: [0u8; THUMB_H * THUMB_W],
timestamp: meta.ctime(),
timestamp: meta.mtime(),
filename: dir_entry.path().file_name().unwrap_or_default()
.to_string_lossy().to_string(),
};