1 Reply Latest reply on Dec 26, 2017 5:08 AM by davidkotz

    Custom filename uses the wrong date in File export/publish


      I'm having trouble publishing photos through the Hard Drive publish service. (I have the same problem with File Export).

      In the configuration I set a custom filename pattern:

           Date (YYYY)-Date (MM)-Date (DD)-Sequence # (0001)

      and then publish the collection to a folder on my hard drive.


      The problem is this: LR-CC is using the wrong date when setting the YYYY-MM-DD fields in the filename.  I want it to use the DateTimeCreated, and believe it has done so in the past.  It now seems, though, that it is using the date the photo was digitized or imported into LR.


      In the document about The Filename Template Editor and Text Template Editor, Adobe says

      Sequence And Date

      Specifies a text string option using sequential numbers and creation (capture) date and time. This element is available in the Filename Template Editor only when exporting photos.

      Notice that it says "capture" date, which is what I want.  In some cases, I've had to manually change the Creation Date of a file whose metadata was wrong, and it's those photos that are being exported incorrectly.  Here's one example:

      Screen Shot 2017-12-22 at 11.11.16 AM.png

      This is a photo that somehow had DateTime set to 6/26/17 when imported, and I changed the capture time (DateTimeCreated) using Lightroom's Metadata menu, to the correct date (4/3/06), which I know from other sources is the actual date the photo was taken.


      The HardDrive Publish (or File Export) is exporting this photo as 2017-06-26-00001.jpg but it should be 2006-04-03-00001.jpg.


      Question: how do I control which date LR-CC uses to create filenames during HardDrivePublish or FileExport?  Or is this a bug in LR?

        • 1. Re: Custom filename uses the wrong date in File export/publish
          davidkotz Level 1

          Update: the "Export" dialog seems to use DateTimeCreated properly, but the "HardDrive" publisher does not.


          On a few photos that did not have a DateTimeCreated property, I was able to add one by using "Edit Capture Time" - I just changed the time by a few seconds - and that inserted a DateTimeCreated property into the metadata for that photo.  Then "Export" correctly used that time in creating the filename on export.


          The bug appears to be in HardDrive publisher.