https://bugs.kde.org/show_bug.cgi?id=495506

            Bug ID: 495506
           Summary: Write Timestamp metadata as found
    Classification: Applications
           Product: digikam
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: Metadata-Date
          Assignee: digikam-bugs-n...@kde.org
          Reporter: chrisc.gigam...@gmail.com
  Target Milestone: ---

SUMMARY
If metadata date tags are found originally with timezone offset, it should also
stored again with the same offset. OR it should be possible to configure this
globally or per tag. Including which tags should use UTC timestamps.

STEPS TO REPRODUCE
1. Start with a picture with timestamps like this:
[XMP:XMP-photoshop:Time] Date Created           : 2024:10:28 21:37:26Z
[XMP:XMP-exif:Time] Date/Time Original          : 2024:10:28 22:37:26+01:00
[XMP:XMP-xmp:Time] Create Date                  : 2024:10:28 22:37:26+01:00
[XMP:XMP-xmp:Time] Modify Date                  : 2024:10:28 22:37:26+01:00
[EXIF:ExifIFD:Time] Date/Time Original          : 2024:10:28 22:37:26
[EXIF:ExifIFD:Time] Offset Time Original        : +01:00
[EXIF:ExifIFD:Time] Create Date                 : 2024:10:28 22:37:26
[EXIF:ExifIFD:Time] Offset Time Digitized       : +01:00
[EXIF:IFD0:Time] Modify Date                    : 2024:10:28 22:37:26
[EXIF:ExifIFD:Time] Offset Time                 : +01:00
[XMP:XMP-xmp:Time] Create Date                  : 2024:10:28 22:37:26+01:00
[XMP:XMP-xmp:Time] Metadata Date                : 2024:10:28 22:37:26+01:00
[XMP:XMP-xmp:Time] Modify Date                  : 2024:10:28 22:37:26+01:00

2. Add a tag with Digikam (timestamp checkbox enabled under Metadata Behavior).
Apply and sync if you have lazy sync enabled
OBSERVED RESULT

3. All offsets are stripped except in the 3 offset tags and even worse, the one
TS with UTC time was also updated to local timezone:

[XMP:XMP-photoshop:Time] Date Created           : 2024:10:28 22:37:26
[XMP:XMP-exif:Time] Date/Time Original          : 2024:10:28 22:37:26
[XMP:XMP-xmp:Time] Create Date                  : 2024:10:28 22:37:26
[XMP:XMP-xmp:Time] Modify Date                  : 2024:10:28 22:37:26
[EXIF:ExifIFD:Time] Date/Time Original          : 2024:10:28 22:37:26
[EXIF:ExifIFD:Time] Offset Time Original        : +01:00
[EXIF:ExifIFD:Time] Create Date                 : 2024:10:28 22:37:26
[EXIF:ExifIFD:Time] Offset Time Digitized       : +01:00
[EXIF:IFD0:Time] Modify Date                    : 2024:10:28 22:37:26
[EXIF:ExifIFD:Time] Offset Time                 : +01:00
[XMP:XMP-xmp:Time] Create Date                  : 2024:10:28 22:37:26
[XMP:XMP-xmp:Time] Metadata Date                : 2024:10:28 22:37:26
[XMP:XMP-xmp:Time] Modify Date                  : 2024:10:28 22:37:26

EXPECTED RESULT
Offsets and timezone should be preserved.


SOFTWARE/OS VERSIONS
Windows: 11

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to