Skip to content

Photo details show wrong time, perhaps ignoring exif OffsetTime. #3118

@gugrim

Description

@gugrim

Describe the bug
The time presented by the Details tab in the sidebar seems to be timezone corrected twice.
The server shows the correct time in UTC. My profile has location Sweden. All other times in Nextcloud seem to be correct.
With exiftool I can verify that the information is correct:
exiftool -AllDates 20250724_093017.jpg
Date/Time Original : 2025:07:24 09:30:18
Create Date : 2025:07:24 09:30:18
Modify Date : 2025:07:24 09:30:18

exiftool -OffsetTime 20250724_093017.jpg
Offset Time : +02:00

`
Time presented by the Photo app:
Taken on Jul 24, 2025 at 11:30 AM

To Reproduce
Steps to reproduce the behavior:

  1. Upload a photo.
  2. Open it in the Photos app.
  3. Open the sidebar and select Details.
  4. Date and time taken is presented with the time off by two hours.

Expected behavior
Date and time taken should be presented in my timezone.

Desktop (please complete the following information):

  • OS: OpenSUSE
  • Browser: Firefox 140 and Chrome 138

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions