Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Changing timezone only stores offset rather than offset plus name #5897

Open
2 of 3 tasks
ITestInProd opened this issue Dec 20, 2023 · 0 comments
Open
2 of 3 tasks
Labels
bug Something isn't working needs triage Bug that needs triage from maintainer

Comments

@ITestInProd
Copy link

ITestInProd commented Dec 20, 2023

The bug

When changing the timezone of a file Immich appears to only store the offset rather than the offset plus display name. When next editing the date/time Immich will display a different display name than previously selected.

I believe the web UI is selecting the first display name match based on the value of the exifInfo->timeZone field.

{ "exifInfo": { "make": null, "model": null, "exifImageWidth": 1487, "exifImageHeight": 1733, "fileSizeInByte": 992041, "orientation": "1", "dateTimeOriginal": "2023-01-11T13:09:00.000Z", "modifyDate": "2007-08-19T22:25:51.328Z", "timeZone": "UTC+2", "lensModel": null, "fNumber": null, "focalLength": null, "iso": null, "exposureTime": null, "latitude": 53.49256, "longitude": 17.601866, "city": "Sępólno Krajeńskie", "state": "Powiat sępoleński, Kujawsko-Pomorskie", "country": "Poland", "description": "", "projectionType": null } }

Immich.TZ.display.bug.mp4

The OS that Immich Server is running on

N/A

Version of Immich Server

1.91.4

Version of Immich Mobile App

N/A

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

1.Log in to https://demo.immich.app/photos
2.Select a photo and open the info pane.
3.Select edit next to the date.
4.Click on the hidden timezone field. This is not the Search bar (ref bug https://github.com/immich-app/immich/issues/5844).
5.Scroll to a new timezone such as `Europe/Helsinki (UTC+02:00)`.
6.Click Confirm.
7.Observe the timezone changes in the info pane.
8.Select edit next to the date.
9.Observe the displayed timezone is now `Africa/Blantyre (UTC+02:00)`.

Additional information

No response

@ITestInProd ITestInProd added bug Something isn't working needs triage Bug that needs triage from maintainer labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Bug that needs triage from maintainer
Projects
None yet
Development

No branches or pull requests

1 participant