Skip to main content
johnrellis
Legend
October 22, 2017

P: Sync from iPhone sets inconsistent capture date, incorrect sorting

  • October 22, 2017
  • 26 replies
  • 659 views

When a photo is synced from LR iPhone, the capture date in LR Classic is set inconsistently, causing the photos in Library grid view to sort incorrectly.  

A workaround is to select all of the synced photos, do the menu command Metadata > Edit Capture Time, and click Change All. This appears to set the catalog's internal capture date fields consistently.

This is yet another instance of LR's internal architecture maintaining multiple fields for capture date in the catalog database and a programmer incorrectly setting some of them.  There are other bugs (outstanding for years) caused by this architectural defect: 
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-tim...
I'm not merging this bug report with that one, though, because all the symptoms in that one are caused by importing photos missing EXIF capture dates. Whereas this bug occurs cloud-syncing photos with valid EXIF capture dates.

In this instance, one of the catalog database fields is getting set with a UTC value where it should be in the local time zone, or vice versa. 

To reproduce:

1. Create a new catalog.

2. Import a photo with a valid capture date and rename it A.jpg.

3. Empty your LR CC of all photos.

4. Sync this catalog with your LR CC account.

5. In LR iPhone, take a photo within the app.

6. Wait until that photo syncs to LR Classic and rename it to B.dng.

7. Use ExifTool to observe that B.dng has valid metadata date fields:

$ exiftool -a -G B.dng | grep -i date
[File]          File Modification Date/Time     : 2017:10:21 17:38:58-07:00
[File]          File Access Date/Time           : 2017:10:21 17:42:08-07:00
[File]          File Inode Change Date/Time     : 2017:10:21 17:38:58-07:00
[EXIF]          Modify Date                     : 2017:10:21 17:38:24
[EXIF]          Date/Time Original              : 2017:10:21 17:38:23
[EXIF]          Create Date                     : 2017:10:21 17:38:23
[EXIF]          GPS Date Stamp                  : 2017:10:22

8. Use Metadata > Edit Capture Time to set the date of A.jpg to be the date of B.dng + n hours - 1 second, where n is the negative of your computer's current time zone offset.

For example, my computer is set to PST (UTC - 7), so n is 7.  The date of B.dng is 10/21/17 5:38:23 PM, so the date of A.dng is set to that date + 7 hours - 1 second = 10/22/17 12:38:22 AM.

9. Do View > Sort > Capture Date and > Ascending.

10. Observe that A.jpg incorrectly sorts before B.dng, even though the date shown for A.jpg comes after the date shown for B.dng:



11. Select B.dng, do Metadata > Edit Capture Time, then click Change.  

12. Observe that B.dng now sorts before A.jpg, even though it displays the same capture date/time under its thumbnail and in the metadata panel.



Tested on LR Classic 7.0 / MacOS 10.12.6, LR CC iPhone (updated two days ago) / iOS 11.0.2 / iPhone 7.

This topic has been closed for replies.

26 replies

Inspiring
October 24, 2017
Images are sorting properly for me on https://lightroom.adobe.com

Lr Classic, sorted by "Capture Time"

Lr Web, sorted by "Capture Date"
johnrellis
Legend
October 24, 2017
Edited: Corrected incorrect second screenshot.
johnrellis
Legend
October 24, 2017
Following the steps in the recipe, I then synced A.jpg from LR Classic to LR CC.  LR CC also shows A and B sorting incorrectly by capture date.  But note that could have been caused by the original sync into LR Classic of B, which corrupted B's capture date, or it could have been caused by something in the Adobe cloud as the photo traversed through it.

Participating Frequently
October 24, 2017
Does https://lightroom.adobe.com or Lightroom CC on the device sorts have the same sorting problem with these images or is it only Lightroom Classic CC?
Inspiring
October 23, 2017
I have also been running into this bug. You can see my screenshots and a complete set of symptoms on this thread: 
https://forums.adobe.com/message/9907590#9907590

In short, photos that I take on my iPhone that sync to my desktop machine using Lightroom Mobile don't sort properly when interspersed with photos taken on other cameras. 

A big thanks to johnrellis for helping to classify what I was seeing and point me towards the workaround. 

For me, this is a new problem that showed up when I installed Lightroom Classic CC. 
Inspiring
October 23, 2017
Thanks for doing the leg work on this one John.  I'm seeing the exact same thing.

It had been driving me nuts, but I hadn't made the connection between images that were coming to Lr Classic via Lr Mobile on my iPhone vs ones I was getting from the normal camera roll.

Btw, this does not appear to be a new problem, as I have images that were imported 5+ months ago that are exhibiting the same behavior.