title: Suffixes on dates (1st, 2nd, 3rd, 4th etc)
body: <p>I'm writing a script to add IPTC data to a folder of images. It extracts the date from the EXIF information and adds this into the <code>'Caption'</code> IPTC tag.</p>
  
  <pre><code>date = iptc["DateTimeOriginal"]
  date = date.strftime('%A %e %B %Y').upcase
  iptc["Caption"] = '%s: %s (%s)' % [date, caption, location]
  </code></pre>
  
  <p>The script works except the date outputs:</p>
  
  <pre><code>Sunday 13 October 2013
  </code></pre>
  
  <p>Ideally, I would like it to output:</p>
  
  <pre><code>Sunday 13th October 2013
  </code></pre>
  
  <p>Any suggestions would be greatly appreciated.</p>