Bug 474834

Summary: Properties "Date:" field does not contain right timestamp wrt timezone
Product: [Applications] digikam Reporter: Koen <debruyck>
Component: Metadata-DateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 8.1.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Picture with exif data set as mentioned (it's my picture, I share the copyright with you)
Digikam UI screenshot of with properties opened

Description Koen 2023-09-24 14:02:16 UTC
Created attachment 161843 [details]
Picture with exif data set as mentioned (it's my picture, I share the copyright with you)

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Properties "Date:" field does not contain right timestamp wrt timezone

Camera settings: date/time set to local time + timezone set to 'Paris' (= CET = central European time).   Camera is a Canon R7

STEPS TO REPRODUCE
1. Take the picture of swan as attached
2. put it in a folder in the library of digiKam
3. Look at it in digikam, and open the properties

OBSERVED RESULT
The GUI properties window shows "Date: 24/09/2023 14:08"

EXPECTED RESULT
The GUI properties window shows "Date: 24/09/2023 12:08"


SOFTWARE/OS VERSIONS
Windows: tbd
macOS: tbd
Linux/KDE Plasma: opensuse tumbleweed
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
output of: exiv2 -PExgnycv 3A5A5034.JPG:
0x9003 Photo        DateTimeOriginal            Ascii      20  2023:09:24 12:08:34
0x9004 Photo        DateTimeDigitized           Ascii      20  2023:09:24 12:08:34
0x9010 Photo        OffsetTime                  Ascii       7  +02:00
0x9011 Photo        OffsetTimeOriginal          Ascii       7  +02:00
0x9012 Photo        OffsetTimeDigitized         Ascii       7  +02:00

Where 12:08 is the current local time in CET (which is UTC+2)
Comment 1 Koen 2023-09-24 14:04:50 UTC
Created attachment 161844 [details]
Digikam UI screenshot of with properties opened

Digikam UI screenshot of with properties opened, here it shows 14:08
Comment 2 Maik Qualmann 2023-09-24 14:22:08 UTC

*** This bug has been marked as a duplicate of bug 251357 ***