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

Default timezone not being applied #832

Open
2 of 3 tasks
StevePER opened this issue Apr 23, 2023 · 0 comments
Open
2 of 3 tasks

Default timezone not being applied #832

StevePER opened this issue Apr 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@StevePER
Copy link

πŸ› Bug Report

  • πŸ“ I've Included a ZIP file containing my librephotos log files logs.zip
  • ❌ I have looked for similar issues (including closed ones)
  • 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

πŸ“ Description of issue:

Importing photos stores local timestamps as UTC regardless of the Default timezone setting. Times are then displayed offset by 8 hours (my timezone is UTC+8).

Example 1:
Default timezone is set to Australia/Perth (UTC+8).
A JPG file with no EXIF data has a filename ending 2023-04-21-12-40-22-085-80gfz.jpg.
The "Using filename assuming timestamp is local" rule should be applied.
The librephotos database stores the timezone as 2023-04-21 12:40:22+00.
Timestamp is displayed as 8:40 PM.

Example 2:
Default timezone is set to Australia/Perth (UTC+8).
A JPG file contains EXIF data including DateTimeOriginal (2022:06:26 12:08:20) and TimeZone (+08:00). There is no DateTime tag.
The "Local time from EXIF:DateTimeOriginal exif tag" rule should be applied.
The librephotos database stores the timezone as 2022-06-26 12:08:20+00.
Timestamp is displayed as 08:08 PM.

πŸ” How can we reproduce it:

This happens on every photo I import.

Please provide additional information:

  • πŸ’» Operating system: Gentoo Linux
  • βš™ Architecture (x86 or ARM): x86
  • πŸ”’ Librephotos version: does not appear to be visible anywhere?
  • πŸ“Έ Librephotos installation method (Docker, Kubernetes, .deb, etc.): docker
    • πŸ‹ If Docker or Kubernets, provide docker-compose image tag: latest
  • πŸ“ How is you picture library mounted (Local file system (Type), NFS, SMB, etc.): local fs (ext4)
  • ☁ If you are virtualizing librephotos, Virtualization platform (Proxmox, Xen, HyperV, etc.): N/A
@StevePER StevePER added the bug Something isn't working label Apr 23, 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
Projects
None yet
Development

No branches or pull requests

1 participant