diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-08-12 10:08:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-08-12 10:08:29 +0200 |
commit | f87eb3c1043d3f4f8e22ba505cd1a827241e160c (patch) | |
tree | e46351c8ec622c9d13232cf00c8a1048e55184af /src/MetadataWriter.vala | |
parent | 7f667adb7b8d3a803a6cd6120dcea4ba4ff89075 (diff) | |
parent | 2333d2b06d52754a55a747fa438844286f98d53a (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/MetadataWriter.vala')
-rw-r--r-- | src/MetadataWriter.vala | 2 |
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); |