<div dir="ltr"><div>Hi,</div><div><br></div>Data and Time metadata handling is a complex problem as all metadata container provide this kind of information.<div><br></div><div>Take a look in this C++ method which parse the date time stamp tags from image metadata to populate the date i database :<div><br></div><div><a href="https://cgit.kde.org/digikam.git/tree/core/libs/metadataengine/engine/metaengine_item.cpp#n536" target="_blank">https://cgit.kde.org/digikam.git/tree/core/libs/metadataengine/engine/metaengine_item.cpp#n536</a><br></div><div><br></div><div>As you can see, exif, or iptc, or Xmp are parsed. and if XMP side car is present, it also parsed. And again this depend of the settings used from DK metadata setup.</div><div><br></div><div>As ou can see this depend of plenty of cases, and it's a big puzzle.</div><div><br></div><div>The good news is : we have an advanced metadata configuration panel where we can customize the source to handle metadata information. See Setup DK/Metadata/Avanced view...</div><div><br></div><div>The bad news is : the date time information is not yet available in this configuration panel.</div><br class="gmail-Apple-interchange-newline"></div><div>We have a file in bugzilla about this topic :</div><div><br></div><div><a href="https://bugs.kde.org/show_bug.cgi?id=382825">https://bugs.kde.org/show_bug.cgi?id=382825</a><br></div><div><br></div><div>Best</div><div><br></div><div>Gilles Caulier</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 10 juin 2019 à 09:58, Jim Todt <<a href="mailto:jtodt@pacbell.net">jtodt@pacbell.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi. digiKam newbie here. Please bear with me as this may get a little <br>
long...<br>
<br>
I've started testing digiKam (6.1), looked at settings, looked at the <br>
website, docs, Nabble forum, & even tried reading some code. But I <br>
haven't found the specifics I'm looking for... (Hopefully they're in a <br>
spec document or user document somewhere, and not just in the code...)<br>
<br>
digiKam makes reference to "date" often; and in one place in the docs it <br>
talks about "EXIF date" as being the 1st choice. But even within EXIF <br>
there isn't just 1 "date"... So what does "date" really mean? digiKam <br>
seems to use "date" in at least 3 places:<br>
<br>
1) Importing. Which drives Properties & Metadata. I seem to get these <br>
results:<br>
<br>
1a) Properties->Photograph Properties->Created comes from <br>
EXIF-Spec:DateTime. What ExifTool calls ModifyDate. The last time the <br>
picture was modified (not created).<br>
<br>
1b) Metadata->EXIF->Image Information->Date and Time also comes from <br>
EXIF-Spec:DateTime.<br>
<br>
1c) Metadata->EXIF->Photograph Information->Date and Time (Digitized) <br>
comes from EXIF-Spec:DateTimeDigitized. The time that the image was <br>
first digitized.<br>
<br>
1d) Metadata->EXIF->Photograph Information->Date and Time (Original) <br>
comes from EXIF-Spec:DateTimeOriginal. The "taken" time - when the <br>
camera shutter was actuated.<br>
<br>
2) View menu sorting. This seems to use the filesystem dates.<br>
<br>
3) Left side Dates & Timeline. These seem to use either the Created or <br>
the Date and Time above - in either case ultimately EXIF-Spec:DateTime.<br>
<br>
Hopefully someone(s) can help with these questions:<br>
<br>
a) Is the above correct as to what dates digiKam is using for what purposes?<br>
<br>
b) In a recent forum thread there was talk of a date needing to appear <br>
multiple times before it's used - is this correct? If so, what is the <br>
reason for this rather than using each date per the spec?<br>
<br>
c) Why isn't the Original date used for sorting, selecting, etc.? As the <br>
"taken" date, this would seem to be the most appropriate choice rather <br>
than a date which can be changed later by other software...<br>
<br>
d) I think in the same forum thread there was talk of a coming ability <br>
for the user to specify what datetime fields should be selected in what <br>
order to be used for each purpose? Is that correct? If so, is there a <br>
timeframe for when this might be implemented?<br>
<br>
e) The latest EXIF spec includes Offset fields to (finally) include <br>
Timezone. However, digiKam only lists 1 of the 3 EXIF Offset fields. <br>
Is this a work in progress? Will digiKam include the other 2 (when?) <br>
and use these Offset fields to correctly sequence pictures from multiple <br>
Timezones?<br>
<br>
f) Is there a Best Practice for when & how to use UTC time in digiKam?<br>
<br>
g) Or is there some other Best Practice for how dates and times and the <br>
related fields should be handled in digiKam?<br>
<br>
Thanks for your help!<br>
<br>
<br>
</blockquote></div>