diff --git a/src/main.rs b/src/main.rs index 1d6df9c..8961396 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(), };