Skip to content

Metadata: UTC should be overridden by local time with unknown zone #2876

@mrlimacz

Description

@mrlimacz

I have a picture taken with an iPhone 14 around 13:30 GMT+1. Picture does not have any GPS data. Exiftool snippet below.

$ exiftool -G IMG_4921.jpg | grep -i 'Date\|Offset\|GPS'
[File]          File Modification Date/Time     : 2022:09:23 14:30:04+02:00
[File]          File Access Date/Time           : 2022:11:09 22:13:26+01:00
[File]          File Inode Change Date/Time     : 2022:11:09 22:12:58+01:00
[EXIF]          Modify Date                     : 2022:09:23 13:30:04
[EXIF]          Date/Time Original              : 2022:09:23 13:30:04
[EXIF]          Create Date                     : 2022:09:23 13:30:04
[EXIF]          Offset Time                     : +01:00
[EXIF]          Offset Time Original            : +01:00
[EXIF]          Offset Time Digitized           : +01:00
[EXIF]          GPS Version ID                  : 2.2.0.0
[EXIF]          GPS Altitude Ref                : Above Sea Level
[EXIF]          GPS Horizontal Positioning Error: 13.18486582 m
[EXIF]          Thumbnail Offset                : 2534
[ICC_Profile]   Profile Date Time               : 2022:01:01 00:00:00
[Composite]     Create Date                     : 2022:09:23 13:30:04.630+01:00
[Composite]     Date/Time Original              : 2022:09:23 13:30:04.630+01:00
[Composite]     Modify Date                     : 2022:09:23 13:30:04+01:00

When imported to Photoprism, it is displayed as taken 12:30:04 local time, but actually it is actually UTC
image

I would expect the timestamp to be 13:30:04 of local time. I have the same problems with other iPhone photos (taken in 2021 and 2022 with iPhone 6s and 14). Other pictures, taken with Samsung S8 are imported correctly. One thing I noticed is that iPhone pictures have Offset Time tags, but Samsung's photos don't. I sent the photo to samples email.

I am using the latest image with MariaDB.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedAvailable in the stable release

Type

No type

Projects

Status

Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions