summaryrefslogtreecommitdiff
path: root/src/MetadataWriter.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-08-17 17:10:12 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-08-17 17:10:12 +0200
commit008bc99860fd353a5da5d06e6be5937f4a358aed (patch)
treed50b38f704b90b83895a21fd610bcf78c31b2cc9 /src/MetadataWriter.vala
parent4ec8ba6ace7234ddc24a7d362a34d9055a83812c (diff)
parent7eef6a59ba38582bed5d459974211eb1f53e1f5d (diff)
Merge branch 'release/debian/0.32.2-1'debian/0.32.2-1
Diffstat (limited to 'src/MetadataWriter.vala')
-rw-r--r--src/MetadataWriter.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MetadataWriter.vala b/src/MetadataWriter.vala
index 5fc26d1..bc220da 100644
--- a/src/MetadataWriter.vala
+++ b/src/MetadataWriter.vala
@@ -113,7 +113,7 @@ public class MetadataWriter : Object {
MetadataDateTime? metadata_exposure_date_time = metadata.get_exposure_date_time();
if (metadata_exposure_date_time != null)
metadata_exposure_time = metadata_exposure_date_time.get_timestamp();
- if (current_exposure_time != metadata_exposure_time) {
+ if (nullsafe_date_time_comperator(current_exposure_time, metadata_exposure_time) != 0) {
metadata.set_exposure_date_time(current_exposure_time != null
? new MetadataDateTime(current_exposure_time)
: null);