Skip to main content
Adobe Photoshop Family

427 Messages

 • 

7.7K Points

Fri, Jul 22, 2011 7:52 PM

Lightroom: Import: Wrong folder names organizing by date when using camera USB

When importing from a camera connected to USB (at least for a Canon EOS 40D Firmware 1.1.1 in my case), lightroom generates wrong folder names when organizing folders by date, at least for the "2011/2011-07-22" format (I guess it's the same for the other formats). 

I use Lightroom 3.4.1 on Windows XP 32 Bit SP 3 and my time zone is CET+DST (Paris, Berlin). I shot six photos an hour apart around midnight CET+DST from 21:30 on Thursday to 02:30 on friday (I changed the camera's time for that) and got the following folder/file structure using a USB connection to the camera: 

2011\2011-07-21\20110721-213022-IMG_0314.CR2 
2011\2011-07-22\20110721-223033-IMG_0315.CR2 <<< wrong folder 
2011\2011-07-22\20110721-233041-IMG_0316.CR2 <<< wrong folder 
2011\2011-07-22\20110722-003049-IMG_0317.CR2 
2011\2011-07-22\20110722-013055-IMG_0318.CR2 
2011\2011-07-22\20110722-023102-IMG_0319.CR2 

Clearly, the two marked files are in the wrong folder. Note that the file naming itself (date and time) is absolutely correct! 

When I import the same six photos using a card reader from the CF card, I get the correct structure: 

2011\2011-07-21\20110721-213022-IMG_0314.CR2 
2011\2011-07-21\20110721-223033-IMG_0315.CR2 <<< now correct folder 
2011\2011-07-21\20110721-233041-IMG_0316.CR2 <<< now correct folder 
2011\2011-07-22\20110722-003049-IMG_0317.CR2 
2011\2011-07-22\20110722-013055-IMG_0318.CR2 
2011\2011-07-22\20110722-023102-IMG_0319.CR2 

This seems to be some "time zone / daylight savings time bug" affecting all photos made from two hours before midnight until just before midnight (my local time is UTC plus two hours) - but why only for camera USB and not for card reader? I didn't test it for a date that has no DST, but I would bet that it would affect photos from *one* hour before midnight, then. 

P.S. The wrong folder structure also already shows in the folder preview in the import dialog. Here is the wrong structure using USB to camera: 
 
...and the correct one using a card reader: 

Responses

4.5K Messages

 • 

76.3K Points

9 years ago

Quoting LrUser24: "Note that the file naming itself (date and time) is absolutely correct! "

Seems safe to say Lightroom is using a different source for time when naming the files versus the folders.

My WAG: Lightroom uses file-created date for folders and exif info for file-naming, and when camera is emulating disk via USB it reports a different file-created date.

I think Lightroom's handling of date-time needs to be "robustified" in this case, and a few others... More specifically to this case: use date-time-original in exif metadata for both folder name and file-name.

4.5K Messages

 • 

76.3K Points

9 years ago

Seems safe to say Lightroom is using a different source for time when naming the files versus the folders.

My WAG: Lightroom uses file-created date for folders and exif info for file-naming, and when camera is emulating disk via USB it reports a different file-created date. This is just a guess...

I think Lightroom's handling of date-time needs to be "robustified" in this case, and a few others... More specifically to this case: use date-time-original in exif metadata for both folder name and file-name.

But also, I've seen Lightroom name the same files differently upon import too. Once with local time and another with UTC, so my WAG may be completely bogus...

130 Messages

 • 

2.1K Points

9 years ago

This particular issue appears to be a variation of the original 'time-zone' bug which occurred in 3.0, but now it only affects date-based folder names when importing directly from camera. File naming is not affected.

Caveat: on Win7 64bit, LR3.4.1, Canon 5D MkII, USB2 connection. Other combinations may produce different results, I have not tested, though I think Geoff Walker was going to try with a Nikon/MAC combination.

The problem is that in this specific import scenario, Lightroom will ADD the system time-zone UTC offset to the DTO of the files being imported when it determines the destination folder name for the date-based schemes that include DD. For example, if you live in a UTC+12 time-zone, ALL shots taken after mid-day local time with camera also set to local time will produce a folder date of the following day, as +12 is added to the local hour value in the DTO.

Apologies, meant to report it when we first came across it a month or so ago.

130 Messages

 • 

2.1K Points

9 years ago

BTW, thought it'd be a good idea to check what happens in a negative UTC zone and found consistent behaviour, i.e. set UTC to -12, local time in camera to before midday, take a picture, and subsequent import folder name shows previous day.

474 Messages

 • 

10.7K Points

9 years ago

I am able to reproduce this problem, and have entered the issue in our bug database.

Incidentally, time zone and DST settings on the camera don't seem to make a difference. I also tested with Nikon and had the same problem, so it doesn't seem to be specific to any particular camera. Appears to be a Windows-only bug, I cannot reproduce on Mac.

Thanks,
Ben

3 Messages

 • 

82 Points

9 years ago

Was this ever fixed? I'm seeing the same behaviour in LR 3.6 (PC / Nikon).

474 Messages

 • 

10.7K Points

9 years ago

Hi Timothy,

Nope, unfortunately not yet. Some day, I hope? In the meantime, you can work around this issue by importing from a card reader, or the hard drive, rather than from the camera directly.

Thanks,
Ben

3 Messages

 • 

82 Points

9 years ago

Thanks Ben.

5 Messages

 • 

112 Points

8 years ago

Hello.

It seems that LR4 don't take into account user's time zone when creating folders and sorting pictures during import.

For example:
My Time Zone is GMT+4.
Pictures with DateTime = 28/03 20:07 were placed into 2012-03-29 folder (folder with wrong date).
At the same time pictures with Date=28/03 but time before 20:00 were placed into folder 2012-03-28 (no error here)

Please see enclosed screenshot.


This reply was created from a merged topic originally titled
LR4 places some files to a folder with wrong date during import (Time zone related bug).

1 Message

 • 

60 Points

8 years ago

Looks like this bug remains in LR4. It's a big annoyance having to move files after doing an import organized by date.

I'm sure it does not take 9 moths to fix. Probably it's sitting at the bottom of the bug tracker. Is anyone actually looking into solving this?

474 Messages

 • 

10.7K Points

8 years ago

Yup, it's still on the list. :-) Sorry for the wait. In the meantime, if you'd like to work around the problem now, you can use a card reader when you import. Bug only happens when importing directly from a connected camera. (If your experience is different than that, please let me know.)

Thanks,
Ben

1 Message

 • 

60 Points

This is still happening for me, regardless of how I import.  If I import from a card reader, from the camera, or if I copy it to my harddrive first and then import it from there.  No matter what, Lightroom uses a date that's 8 hours ahead of me to identify the folder to put the file in, even though the modified date of the file is correct.

Champion

 • 

5K Messages

 • 

91.7K Points

"No matter what, Lightroom uses a date that's 8 hours ahead of me to identify the folder to put the file in, even though the modified date of the file is correct."

These symptoms suggest that the capture time recorded in the photo is off by 8 hours. To verify this, select one of the photos and look at the Capture Time field in the Metadata Panel of Library mode.

Champion

 • 

5K Messages

 • 

91.7K Points

...and if the capture time in Metadata is off, that means the clock (or time zone setting) in the camera is off by 8 hours.

1 Message

 • 

60 Points

The capture time in Lightroom is off by 8 hours.  But all the settings on the camera are for the correct time zone, and correct time.  And this happens not just on one camera, but for all files that I import into lightroom, from all sources, whether its direct from a camera, or direct from the SD card.  I have 4 different video cameras that I use, GoPro, Sony, Canon, and iPhone, and they all have this issue.  I'm in Pacific Time zone, so it's appearing that Lightroom is using GMT for determining what folder to use (ignoring time zones completely) but using the correct times for everything else.

2 Messages

 • 

82 Points

8 years ago

In Lightroom 4, when importing photos directly from camera (USB), LR puts some images into wrong date folder. Seems it doesn't check cameras time settings (timezone and summer time settings).
For example, photo taken on 18th of May at 22.05 pm, LR puts it in 19-05 folder although it shows correct exif data (my time settings in nikon d90 are: gmt +2, and automatic daylight saving time option is "on")

This reply was created from a merged topic originally titled
LR4 imports doesn't check camera's time settings and imports into wrong date folderlr4.

1 Message

 • 

60 Points

8 years ago

Just installed LR4.1 release, still seems to be there?

4 Messages

 • 

146 Points

8 years ago

When I import videos from my iPhone with Lightroom (even LR4) I choice to rename the file during import:
Format: "Date (YYYYMMDD)_HourMinuteSeconde_iPhone_OriginalFilename.
Wrong time in renamed filename after import captured video from an iPhone.
Unfortunately the filename is exactly 1hour later than the video is captured in meta data.
If I import it without rename the file during import and do the rename later (via library --> rename photo) the filename is correct.
These bug already exists a few versions earlier in LR3.
Now in LR4 it's back :-(

This reply was created from a merged topic originally titled
Lightroom: Wrong time in renamed filename after import captured video from an iPhone..

2 Messages

 • 

82 Points

8 years ago

I have Lightroom 4.1 64bit for Windows installed and experience following issue: When I import the exposures from my Nikon D7000 sometimes the importer splitts the files into two different folders, even though the exposure date is from the same day.
I presume that there is a problem with date comparison. I live in the timezone Berlin, Rome, Vienna; the camera shows the correct time (additional info is UTC+1; summertime) and my pc is synchrone. When I import the exposures, all files with time greater 22:00 are put into a folder with exposuredate + 1. It seems as if the importer treats the filedate as plain UTC, adds 1 hour (UTC+1) PLUS adds another hour for summertime.
Is this problem already known?

This reply was created from a merged topic originally titled
Wrong folderdate on import of exposures in Lightroom 4.1.