From 2cc0ffc9b55bfacda06cce90dbf442e47080f328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20R=C3=A4s=C3=A4nen?= Date: Sun, 19 Apr 2026 08:59:20 +0300 Subject: [PATCH] Script now shows CreationDate only, not time --- photoimport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photoimport.py b/photoimport.py index 9a7cd9d..dd4651f 100644 --- a/photoimport.py +++ b/photoimport.py @@ -14,7 +14,7 @@ def get_exif_date(file_path): # Command: exiftool -d "Format" -CreateDate "file_path" # The -d option allows specifying the desired output format. result = subprocess.run( - ['exiftool', '-d', "%Y-%m-%d %H:%M:%S", '-CreateDate', file_path], + ['exiftool', '-d', "%Y-%m-%d", '-CreateDate', file_path], capture_output=True, text=True, check=True