Bug 484882 - Item -> Write Metadata to File changes camera creation date to UTC
Summary: Item -> Write Metadata to File changes camera creation date to UTC
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Date (show other bugs)
Version: 8.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 17:55 UTC by BFF
Modified: 2024-04-01 18:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.4.0
Sentry Crash Report:


Attachments
A "Before" screenshot (194.02 KB, image/png)
2024-04-01 17:55 UTC, BFF
Details
An "After" screenshot (191.17 KB, image/png)
2024-04-01 17:56 UTC, BFF
Details
attachment-179647-0.html (1.64 KB, text/html)
2024-04-01 18:29 UTC, BFF
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ?
>