Append file name with modified date

I am trying to append file names with the modified date. What am I doing incorrectly?

<?xml version="1.0"?>
<button display="both" effect="gray">
   <guid>{F620C576-7C0F-40A8-84DD-DC56C8671A0D}</guid>
   <label>Append Modified Date</label>
   <icon1>49</icon1>
   <function type="normal">
      <instruction>Rename PATTERN="*" TO="*-{modified|D#yyyy-MM-dd}" AUTORENAME TYPE=dirs</instruction>
      <instruction>Rename PATTERN="*.*" TO="*-{modified|D#yyyy-MM-dd}.*" AUTORENAME TYPE=files</instruction>
   </function>
</button>

Add the FILEINFO argument to enable things like {modified} in the rename.

Add the FILEINFO switch to both commands.

Leo faster again.. o)

Thanks!