
Champion
•
5.6K Messages
•
98.1K Points
Wed, Dec 10, 2014 12:38 AM
Acknowledged
Lightroom: Still inconsistent capture date/time for photos and videos
Update 5/17/2018: Though LR 7.1 made improvements, LR 7.3.1 still has two closely related problems with a single underlying cause:
- With photos and videos missing metadata capture date/times (e.g. scans), there is still an inconsistency between the times shown under the thumbnails in grid view and in the Metadata panel and the hidden, internal times used for sorting in grid view.
- Changing IPTC Date Created in the Metadata panel, either by editing the field or using Metadata > Copy/Paste Metadata, similarly causes inconsistent values to be shown and sorting and searching to work inconsistently. It also causes date metadata to be written back to the files that doesn't conform with the Metadata Working Group's standard.
The underlying cause is architectural: LR doesn't have a single internal catalog field representing "capture time". Rather, it maintains capture time in several different fields, and the various parts of LR update those fields inconsistently.
See here for precise recipes to replicate these bugs:
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-tim...
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-tim...
See here for a workaround:
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-time-for-videos?topic-reply-list%5Bsettings%5D%5Bfilter_by%5D=all&topic-reply-list%5Bsettings%5D%5Breply_id%5D=15475521#reply_15475521.
-------------
LR 5.7 still shows inconsistent capture date/times for videos. For a test .avi on Windows 8.1, the date in grid view appears to be the file system's last-modified time, while Capture Date/Time is set to the time of import.This problem was declared fixed in LR 5.5, and it appears to have been fixed for images, but not videos:http://feedback.photoshop.com/photoshop_family/topics/inconsistent_dates_for_files_missing_date_time...I'm opening a new topic, since the previous one has been marked "Solved".

- With photos and videos missing metadata capture date/times (e.g. scans), there is still an inconsistency between the times shown under the thumbnails in grid view and in the Metadata panel and the hidden, internal times used for sorting in grid view.
- Changing IPTC Date Created in the Metadata panel, either by editing the field or using Metadata > Copy/Paste Metadata, similarly causes inconsistent values to be shown and sorting and searching to work inconsistently. It also causes date metadata to be written back to the files that doesn't conform with the Metadata Working Group's standard.
The underlying cause is architectural: LR doesn't have a single internal catalog field representing "capture time". Rather, it maintains capture time in several different fields, and the various parts of LR update those fields inconsistently.
See here for precise recipes to replicate these bugs:
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-tim...
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-tim...
See here for a workaround:
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-time-for-videos?topic-reply-list%5Bsettings%5D%5Bfilter_by%5D=all&topic-reply-list%5Bsettings%5D%5Breply_id%5D=15475521#reply_15475521.
-------------
LR 5.7 still shows inconsistent capture date/times for videos. For a test .avi on Windows 8.1, the date in grid view appears to be the file system's last-modified time, while Capture Date/Time is set to the time of import.This problem was declared fixed in LR 5.5, and it appears to have been fixed for images, but not videos:http://feedback.photoshop.com/photoshop_family/topics/inconsistent_dates_for_files_missing_date_time...I'm opening a new topic, since the previous one has been marked "Solved".
Problems
•
Updated
4 months ago
315
67
Helpful Widget
How can we improve?
Tags
No tags available
Responses
570e
4 Messages
•
112 Points
3 years ago
0
John_R_Ellis
Champion
•
5.6K Messages
•
98.1K Points
3 years ago
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-tim...
1
0
John_R_Ellis
Champion
•
5.6K Messages
•
98.1K Points
3 years ago
Here's how to reproduce the bug:
1. Create a new catalog.
2. Download and unzip https://www.dropbox.com/s/hbma8x3n15n99ce/capture-time-bug.2017.11.13.zip?dl=0.
3. Import the file "test4.jpg".
4. Observe that the date/time shown under test4.jpg's thumbnail is the file's last-modified time incorrectly expressed in UTC rather than local time. (My computer is in UTC-8.):
5. Do View > Sort > Capture Time and View > Sort > Ascending and observe that the photos are correctly sorted by the date appearing under the thumbnail:
6. Do Metadata > Edit Capture Time and observe that "Original Time" shows the file's last-modified time in local time, which doesn't match the date/time shown under the thumbnail (UTC). Hit Cancel when done.
7. Do View > Show Filter Bar and select Metadata. With test4.jpg selected, observe that the Date column shows test4.jpg in the year 2017, even though the Metadata panel's Default tagset incorrectly shows no capture date. To be consistent with the handling of photos with EXIF:DateTime but no EXIF:DateTimeOriginal, the Metadata panel should show test4.jpg's file last-modified time as Capture Date/Time.
8. Select test4.jpg and do Library > Rename Photo. Select the Capture Date template. Observe that the file gets renamed using the file's last-modified time in local time, which doesn't match the UTC time shown under the thumbnail:
To summarize the inconsistencies:
A. The date/time shown under the file's thumbnail is the file's last-modified time shown in UTC rather than local time.
B. The Edit Capture Time command's Original Time correctly shows the file's last-modified time in local time, which doesn't match the UTC time shown under the thumbnail (incorrect).
C. The Metadata panel incorrectly shows the photo with no Capture Date, whereas the Metadata browser of the Library Filter bar correctly shows the capture date as "known".
D. Renaming the file using the capture date correctly uses the last-modified time as expressed in local time, whereas the date shown under the thumbnail is incorrectly shown in UTC.
0
0
John_R_Ellis
Champion
•
5.6K Messages
•
98.1K Points
3 years ago
0
0
abhishek_kumar_1l77t404li7dx
42 Messages
•
866 Points
3 years ago
3
alison_castle
9 Messages
•
154 Points
3 years ago
However, in Library grid view, the thumbnails still display the correct creation dates even though in the metadata panel all date fields are empty except for Metadata Date. So when I followed the advice of someone above to save metadata to file and then read metadata from file, I ended up wiping the correct capture date that had been displayed on the thumbnail, replacing it with the date I last edited the metadata.
If there is no way to reset the capture times to those saved in the LR catalog (i.e. the ones displayed on the thumbnails), then I'm facing hundreds of hours of manually correcting the metadata. In other words, nightmare.
I have my entire LR library synced/backed up on Dropbox. It is possible to restore a previous version from Dropbox, but this is only possible on a file-by-file basis. I'm now regretting not backing up my library to my Time Machine.
3
0
John_R_Ellis
Champion
•
5.6K Messages
•
98.1K Points
3 years ago
In August, Adobe asked me to provide recipes for the issues in this thread. I provided two such recipes, updated the first post in this topic with them, and communicated that by email. After 7.0.1, Adobe asked me to test, which I did, I updated one of the recipes, and posted that the other one hadn't yet been addressed.
In LR 7.1, the recipe concerning photos missing metadata capture date/times has been completely addressed, while the recipe concerning edits to IPTC:DateCreated has not.
Details:
This topic concerns two ways to provoke the underlying architectural inconsistency in the capture date/time fields, in which the values shown under the thumbnail, in Metadata > Default, Metadata > EXIF, and Metadata > IPTC would be inconsistent, and different parts of the application would use different values (sorting, file renaming, the Library filter bar, smart collections).
1. Import a photo or video with missing metadata date/time fields or with just EXIF:DateTime but not EXIF:DateTimeOriginal (e.g. importing scans or from very old digital cameras):
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-tim...
I've tested this recipe and tested a similar one for video, and it appears to be finally fixed! There are no inconsistencies between the dates shown under the thumbnail and in Metadata > Default and Metadata > EXIF. Sorting thumbnails in grid view and the Library Metadata filter bar are consistent with those values, and renaming files in grid view and in export uses those values consistently.
2. Change IPTC:DateCreated with with the Metadata > IPTC panel or by copying and pasting that field with Metadata > Copy/Paste Metadata.
https://feedback.photoshop.com/photoshop_family/topics/lightroom-still-inconsistent-capture-date-tim...
Though the Metadata Working Group specification to which LR subscribes says that IPTC:DateCreated should be consistent with EXIF:DateTimeOriginal and XMP:DateCreted, changing the IPTC:DateCreated in the Metadata panel doesn't update the date/times shown under the thumbnail, Metadata > Default, or Metadata > EXIF.
The previous workaround continues to work: Select all the affected photos and doing Metadata > Edit Capture Time and then Adjust All will set IPTC:DateCreated to the same value as shown in Metadata > Default and Metadata > EXIF.
0
John_R_Ellis
Champion
•
5.6K Messages
•
98.1K Points
3 years ago
The LR SDK API appears to reflect accurately what is shown in the application to the user. All photos have a "captureTime" that is the same as what's shown in the app, and photos that have EXIF:DateTimeOriginal in their metadata have "dateTimeOriginal".
{--table: 1
[LrPhoto( id "3875" )] = {--table: 2
captureTime = 461908947,
date = "2015-08-22T04:02:27",
path = "/Users/john/Downloads/capture-time-bug copy/test2.jpg"},
[LrPhoto( id "3874" )] = {--table: 3
captureTime = 493531347,
date = "2016-08-22T04:02:27",
dateTimeOriginal = 493531347,
path = "/Users/john/Downloads/capture-time-bug copy/test1.jpg"},
[LrPhoto( id "3876" )] = {--table: 4
captureTime = 556603347,
date = "2018-08-22T04:02:27",
dateTimeOriginal = 556603347,
path = "/Users/john/Downloads/capture-time-bug copy/test3.jpg"},
[LrPhoto( id "3877" )] = {--table: 5
captureTime = 532143432,
date = "2017-11-12T01:37:12",
path = "/Users/john/Downloads/capture-time-bug copy/test4.jpg"}}
3
0
sunil_bhaskaran
Adobe Administrator
•
524 Messages
•
9.8K Points
3 years ago
We are looking into the second issue you mentioned.
Thanks,
Sunil
4
0
john_ellis_7846972
2 Messages
•
72 Points
3 years ago
Testing.
0
0
steven_seelig
68 Messages
•
916 Points
3 years ago
Not sure whether this is relevant, but a similar problem occurs with scanned tiff images interspersed with camera taken pictures. In other words, scan some pictures as tiff and import Imp light room, then import pictures .ARW files, and then scan some more pictures as tiff. The new tiff images cluster with the older tiff files, and will come before the ARW files. In this situation there is no THM file.
Note: This conversation was created from a reply on: Lightroom Classic: Sort by capture time bug.
3
0
John_R_Ellis
Champion
•
5.6K Messages
•
98.1K Points
3 years ago
To reproduce:
1. Create a new catalog.
2. Download and unzip this folder:
https://www.dropbox.com/s/gkytf55c88vrm8k/capturetimebug.2018.05.17.zip?dl=0
3. Run these ExifTool commands to set the file modification dates of "before.jpg" and "after.jpg":
where h = 15 - the UTC offset of your computer's time zone. My computer is in PDT (UTC - 7), so I set h to 8:
4. Import "before.jpg", "test.jpg", and "after.jpg" using Add (not Move or Copy).
5. In Library, select All Photographs and View > Sort > Capture Time.
6. Observe that the sort order of the photos is inconsistent with the capture times shown under the thumbnails and in the Metadata panel:
LR sets the visible capture time of each scan to the file's date-modified time expressed in the local time zone, but it sets the hidden internal field used for sorting to the date-modified time expressed in UTC.
The usual workaround fixes this: Select all the photos, do Metadata > Edit Capture Time, and click Change All.
4
0
leandro_ngo
3 Messages
•
86 Points
3 years ago
3
0
jefferson_orsi_siratuti
1 Message
•
62 Points
2 years ago
What is the exactly "field" that Lightroom uses as reference for renaming files?
0
0
brian_berman
27 Messages
•
420 Points
2 years ago
I’m having a similar problem here. After updating to the new version of LR classic Lightroom is incorrectly reading MTS video file capture times. The capture times for the same file in Adobe Photoshop, Adobe Bridge and Mac finder are all correct. Only in Lightroom is there a problem. It’s most annoying when I’m trying to filter files based on what year the photos and videos were shot. LR shows me files from 2015 when i’m trying to view files from 2017. The incorrect files all have the same incorrect capture time also. Very strange. I have about 50,000 so i’m Worried about files getting completely lost in the mix.The screenshots show the file info in Lightroom being incorrectly seen and then the file info in Photoshop being CORRECTLY seen. Any help would be greatly appreciated.
0
0