Script now shows CreationDate only, not time

This commit is contained in:
2026-04-19 08:59:20 +03:00
parent a5638e653a
commit 2cc0ffc9b5
+1 -1
View File
@@ -14,7 +14,7 @@ def get_exif_date(file_path):
# Command: exiftool -d "Format" -CreateDate "file_path" # Command: exiftool -d "Format" -CreateDate "file_path"
# The -d option allows specifying the desired output format. # The -d option allows specifying the desired output format.
result = subprocess.run( 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, capture_output=True,
text=True, text=True,
check=True check=True