Bug 484957

Summary: Wrong caption date timestamp
Product: [Applications] digikam Reporter: mahikeulbody <51mfxqck>
Component: Metadata-DateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.4.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.4.0
Sentry Crash Report:

Description mahikeulbody 2024-04-03 08:13:42 UTC
My PC is UTC+2 (CET + DST).
At 09:58 local time, I added the caption "caption at 09:58".
Then Digikam added these lines to metadata of the file :

[XMP-x]         XMP Toolkit                     : Image::ExifTool 12.70
[XMP-dc]        Description                     : caption at 09:58
[XMP-digiKam]   Captions Date Time Stamps       : 2024-04-03T09:58:32Z

It would have to write 2024-04-03T07:58:32Z
Comment 1 Maik Qualmann 2024-04-03 08:17:04 UTC
Fixed with Bug 484882

Maik
Comment 2 Maik Qualmann 2024-04-03 16:40:58 UTC
Git commit 1acc73bfff6868f88b451e3a0c1833dd03354023 by Maik Qualmann.
Committed on 03/04/2024 at 16:39.
Pushed by mqualmann into branch 'master'.

fix missing convert from caption timestamp to local time
Related: bug 484967
FIXED-IN: 8.4.0

M  +6    -2    core/libs/metadataengine/containers/captionvalues.cpp

https://invent.kde.org/graphics/digikam/-/commit/1acc73bfff6868f88b451e3a0c1833dd03354023
Comment 3 mahikeulbody 2024-04-04 12:00:52 UTC
not fixed in the last bundle digiKam-8.4.0-20240404T094657-x86-64.appimage (but may be the fix is not there yet ?)
Comment 4 caulier.gilles 2024-04-04 12:05:54 UTC
Hum  i started the appimage build few hours ago, so fix must be included i think.

Gilles Caulier
Comment 5 mahikeulbody 2024-04-04 12:12:45 UTC
It is not the case. Caption modified 15' ago (at 13h55 local time) :

[XMP-digiKam]   Captions Date Time Stamps       : 2024-04-04T13:55:28Z

But since there is also the bug 484959 declared 'fixed' but not fixed in the bundle, may be there is a build or branch problem.
Comment 6 mahikeulbody 2024-04-04 12:15:37 UTC
Forget my comment I was using a wrong bundle. I will test again. Sorry.
Comment 7 mahikeulbody 2024-04-04 12:47:52 UTC
It is fixed, sorry again.