<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
When I run exiv2 on raw files where the sidecar file was created
with dk 4.14 I get the following output:<br>
<br>
$ exiv2 -pa --grep Date 2014-08-04T15-41-27_Australien.ORF<br>
Exif.Image.DateTime Ascii 20
2014:08:04 15:41:27<br>
Exif.Photo.DateTimeOriginal Ascii 20
2014:08:04 15:41:27<br>
Exif.Photo.DateTimeDigitized Ascii 20
2014:08:04 15:41:27<br>
<br>
$ exiv2 -pa --grep Date 2014-08-04T15-41-27_Australien.ORF.xmp <br>
Exif.Image.DateTime Ascii 20
2014:08:04 15:41:27<br>
Exif.Photo.DateTimeOriginal Ascii 20
2014:08:04 02:00:00<br>
Exif.Photo.DateTimeDigitized Ascii 20
2014:08:04 15:41:27<br>
Iptc.Application2.DateCreated Date 8
2014-08-04<br>
Iptc.Application2.DigitizationDate Date 8
2014-08-04<br>
Xmp.exif.DateTimeDigitized XmpText 19
2014-08-04T15:41:27<br>
Xmp.exif.DateTimeOriginal XmpText 19
2014:08:04 15:41:27<br>
Xmp.photoshop.DateCreated XmpText 10
2014-08-04<br>
Xmp.tiff.DateTime XmpText 19
2014-08-04T15:41:27<br>
Xmp.xmp.CreateDate XmpText 19
2014-08-04T15:41:27<br>
Xmp.xmp.MetadataDate XmpText 19
2014-08-04T15:41:27<br>
Xmp.xmp.ModifyDate XmpText 19
2014-08-04T15:41:27<br>
<br>
When I do it with a file where the xmp file was created by dk 5.7 I
get the following output:<br>
<br>
$ exiv2 -pa --grep Date
2017-11-04T12-53-27_Emilia-erster-Geburtstag.ORF<br>
Exif.Image.DateTime Ascii 20
2017:11:04 12:53:27<br>
Exif.Photo.DateTimeOriginal Ascii 20
2017:11:04 12:53:27<br>
Exif.Photo.DateTimeDigitized Ascii 20
2017:11:04 12:53:27<br>
<br>
$ exiv2 -pa --grep Date
2017-11-04T12-53-27_Emilia-erster-Geburtstag.ORF.xmp <br>
Exif.Image.DateTime Ascii 20
2017:11:04 12:53:27<br>
Exif.Photo.DateTimeOriginal Ascii 20
2017:11:04 12:53:27<br>
Exif.Photo.DateTimeDigitized Ascii 20
2017:11:04 12:53:27<br>
Iptc.Application2.DateCreated Date 8
2017-11-04<br>
Iptc.Application2.DigitizationDate Date 8
2017-11-04<br>
Xmp.xmp.ModifyDate XmpText 19
2017-11-04T12:53:27<br>
Xmp.xmp.CreateDate XmpText 19
2017-11-04T12:53:27<br>
Xmp.photoshop.DateCreated XmpText 19
2017-11-04T12:53:27<br>
<br>
<br>
In the first case Xmp.photoshop.DateCreated does not contain the
time information and digikam shows the property "Created" as
"8/4/2014 2:00 AM". Surprisingly, the old dk version 4.14 shows the
creation date correctly, even if the attribute
Xmp.photoshop.DateCreated contains no time part.<br>
It seems to be that there are some changes from versions 4.x to 5.x.<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/14/2017 11:21 PM, Andrey Goreev
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5a0b6c6b.8b996b0a.393ff.3b95@mx.google.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div>It might be related to how exiv2 supports the ODF file
format.</div>
<div>It should be easy to check. You can try either exiv2 direct
or darktable, RPD and many others and see if they read the
date/time tag correct.</div>
<div><br>
</div>
<div id="composer_signature">
<div style="font-size:85%;color:#575757" dir="auto">Sent from my
Samsung Galaxy smartphone.</div>
</div>
<div><br>
</div>
<div style="font-size:100%;color:#000000"><!-- originalMessage -->
<div>-------- Original message --------</div>
<div>From: Jan Wolter <a class="moz-txt-link-rfc2396E" href="mailto:jan@wolter.re"><jan@wolter.re></a> </div>
<div>Date: 2017-11-14 2:59 PM (GMT-07:00) </div>
<div>To: <a class="moz-txt-link-abbreviated" href="mailto:digikam-users@kde.org">digikam-users@kde.org</a> </div>
<div>Subject: Re: Properties view: wrong creation date </div>
<div><br>
</div>
</div>
I noticed the same problem with pre-released version 5.8.0.
Absolutely <br>
annoying is that renaming of a set of images (all taken on the
same day <br>
but on a different time) with the option
[date:"yyyy-MM-ddThh-mm-ss"] <br>
results in<br>
2014-07-29T02-00-00.ORF<br>
2014-07-29T02-00-00_1.ORF<br>
2014-07-29T02-00-00_2.ORF<br>
...<br>
2014-07-29T02-00-00_n.ORF<br>
<br>
I would expect a filename including the correct time information
taken <br>
from the xmp:CreateDate attribute. But it seems to be that always
in <br>
incomplete attribute photoshop:DateCreated is taken.<br>
<br>
Does anyone have the same problem?<br>
<br>
<br>
On 11/13/2017 10:43 PM, Jan Wolter wrote:<br>
> Hello,<br>
><br>
> I mentioned that the creation date of nearly all my raw files
are not <br>
> displayed correctly in the photograph properties view: the
date part <br>
> is correct but the time part is fixed to "1:00 AM" or "2:00
AM" <br>
> depending on winter or sommer time. For read-only files like
raw files <br>
> my digikam writes/reads all metadate to/from XMP sidecar
files. <br>
> Currently, I use digikam version 5.7.0 (AppImage).<br>
><br>
> When I take a look in the *.xmp files, I see the following
entries <br>
> related to dates:<br>
> exif:DateTimeDigitized="2014-07-29T11:22:08"<br>
> exif:DateTimeOriginal="2014-07-29T11:22:08"<br>
> tiff:DateTime="2014-07-29T11:22:08"<br>
> xmp:CreateDate="2014-07-29T11:22:08"<br>
> xmp:MetadataDate="2014-07-29T11:22:08"<br>
> xmp:ModifyDate="2014-07-29T11:22:08"<br>
> photoshop:DateCreated="2014-07-29"<br>
><br>
> All date related attributes except "photoshop:DateCreated"
saves the <br>
> date including the time part. First question: Why is there a
photoshop <br>
> related attribute? I use dk on a Linux machine, where
Photoshop is not <br>
> present.<br>
><br>
> In a deeper investigation of the problem, I noticed that the
mentioned <br>
> problem applies only to all raw files which XMP sidecar files
was <br>
> created by an older dk version (in my case dk 4.14.0). All
"new" raw <br>
> files which sidecar files was created with digikam 5.x are
displayed <br>
> correctly and the attribute "photoshop:DateCreated" includes
the time <br>
> part. When I take then such a xmp file and change the
attribute from<br>
> photoshop:DateCreated="2017-11-04T12:52:23"<br>
> to<br>
> photoshop:DateCreated="2017-11-04"<br>
> the properties view shows "11/4/17 1:00 AM" instead of
"11/4/17 12:52 <br>
> PM".<br>
><br>
> It seems to be that digikam uses the attribute
"photoshop:DateCreated" <br>
> exclusively instead of "xmp:CreateDate". From my point of
view thats a <br>
> bug. Is it possible to fix it?<br>
><br>
><br>
> Best regards,<br>
> Jan </blockquote>
<br>
</body>
</html>