Bug 484882

Summary: Item -> Write Metadata to File changes camera creation date to UTC
Product: [Applications] digikam Reporter: BFF <buddy>
Component: Metadata-DateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.4.0
Sentry Crash Report:
Attachments: A "Before" screenshot
An "After" screenshot
attachment-179647-0.html

Description BFF 2024-04-01 17:55:06 UTC
Created attachment 168030 [details]
A "Before" screenshot

If I select one or more photos and click on Item --> Write Metadata to File, the displayed camera creation date is changed from my local time to UTC.
Comment 1 BFF 2024-04-01 17:56:13 UTC
Created attachment 168031 [details]
An "After" screenshot
Comment 2 caulier.gilles 2024-04-01 18:25:15 UTC
Did you use the AppImage bundle for Linux ?
Comment 3 Maik Qualmann 2024-04-01 18:26:35 UTC
Git commit 0ce5dd28f87d3c88097a0619966e291d1f2200c6 by Maik Qualmann.
Committed on 01/04/2024 at 18:25.
Pushed by mqualmann into branch 'master'.

write timestamps metadata as local timespec
FIXED-IN: 8.4.0

M  +1    -1    NEWS
M  +5    -4    core/libs/metadataengine/engine/metaengine_item.cpp

https://invent.kde.org/graphics/digikam/-/commit/0ce5dd28f87d3c88097a0619966e291d1f2200c6
Comment 4 BFF 2024-04-01 18:29:07 UTC
Created attachment 168033 [details]
attachment-179647-0.html

Yes, that is correct.

On Mon, 2024-04-01 at 18:25 +0000, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=484882
> 
> caulier.gilles@gmail.com changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------
> -------
>                  CC|                           
> |caulier.gilles@gmail.com
> 
> --- Comment #2 from caulier.gilles@gmail.com ---
> Did you use the AppImage bundle for Linux ?
>