{datetimeoriginal|yyyy-MM-dd} not working in rename dialog

On image files:

  • this works: {date|yyyy-MM-dd} {time|HH-mm-ss}
  • this doesn't work: {datetimeoriginal|yyyy-MM-dd}

How come and can it be fixed?

I want to rename many images to their original date

Try {datetimeoriginal|D#yyyy-MM-dd} instead.

I ran into the same issue today.

{date|yyyy} works, but {modifieddate|yyyy} does not.

As suggested by @Jon, I found that {modifieddate|D#yyyy} (with the D# prefix) works.

Is this by design? It is confusing to me, as I'd expected the same syntax for date and modifieddate.

Thanks!

date is a date-only field, so the context of the formatting string is unambiguous. modifieddate is a date/time field, so the formatting string needs to distinguish between the date component and the time component.

That makes perfect sense, thanks @Jon. :+1:

Just be aware that not all photos have a date in the EXIF DateTimeOriginal field.