-
1. What is not working as documented?Probably related to #2320 but without GPS specifics. Probably When indexing .heic images, taken on iPhones with disabled GPS for camera, the Consequent issue: In #2320 (comment) it was mentioned, that photos are sorted by local times, not by UTC. So this is considered expected behavior? This leads to images, even having proper time offset, being displayed not in 'natural' order. For example, if there are 3 pictures (pls see visual example below): The order they are displayed in Photoprism will be: Pic3, Pic1, Pic2 (Newest first sort) For the Oldest first sort it would be: Pic2, Pic1, Pic3 The order they were taken in ‘real life’ is: Pic1, Pic2, Pic3 Still, it's probably better to keep time zone in the sidecar file correct. Cases, when sorting issue matters:
2. How can we reproduce it?
For the sake of the example, photos were taken on same device, however behaviour is consistent if photos were taken on several different iphones. 3. What behaviour do you expect?I would expect for pictures without GPS coordinates, but with time offset present, to have corresponding offset assigned. So for the example above it would be +02:00 for pic1 and pic3 and +01:00 for pic 2. Also, would expect pictures to be sorted by 'utc' time (meaning ‘local’ time +/- offset), so they will be ordered as the they were taken in real life. 4. What could be the cause of your problem?Allegedly Apple populates the exif data not in supposed way (see example below), so time offset is not embedded into If I’m looking at the right place (https://github.com/photoprism/photoprism/blob/release/internal/meta/exif.go), those tags are not being read from exif (also they are not mentioned in https://www.photoprism.app/kb/metadata). However, offset is embedded in Reduced exif for Pic1 (
Full exif:
5. Can you provide us with example files for testing, error logs, or screenshots?Please see included archive with sample set. When they are being indexed, they are sorted like this: In GUI the date-time displayed is same as I do understand that time offset != time zone, so this is expected representation in GUI. I would suggest assigning any of the corresponding named time zones for such images or have other ‘lettered’ timezones in addition to Z. Not sure if this would be a viable solution though. The sidecar .yml files created automatically for those images: Pic1
Pic2
Pic3
6. Which software versions do you use?(a) PhotoPrism Architecture & Build Number: (b) Database Type & Version: (c) Operating System Types & Versions: Host OS - Debian 11 (d) Browser Types & Versions: (e) Ad Blockers, Browser Plugins, and/or Firewall Software? (f) Haven’t tried with IOS 17 yet. 7. On what kind of device is PhotoPrism installed?I suppose this should not be hardware-dependent, but since this is required for import/indexing-related issues: (a) Device / Processor Type: (b) Physical Memory & Swap Space in GB: (c) Storage Type: HDD, SSD, RAID, USB, Network Storage: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@shagog Your request has been implemented and will be available with our next update, scheduled for today or tomorrow. We appreciate your help with testing these changes! :) |
Beta Was this translation helpful? Give feedback.
@shagog Your request has been implemented and will be available with our next update, scheduled for today or tomorrow. We appreciate your help with testing these changes! :)