{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.