title: How can I convert 24 hour time to 12 hour time?
body: <p>I have the following 24-hour times:</p>
  
  <pre><code>{'Wed': '10:30 - 21:00', 'Sun': '10:30 - 21:00', 'Thu': '10:30 - 21:00', 
   'Mon': '10:30 - 21:00', 'Fri': '10:30 - 22:00', 'Tue': '10:30 - 21:00', 
   'Sat': '10:30 - 22:00'}
  </code></pre>
  
  <p>How can I convert this to 12-hour time?</p>
  
  <pre><code>{'Wed': '10:30 AM - 09:00 PM', 'Sun': '10:30 AM - 09:00 PM', 
   'Thu': '10:30 AM - 09:00 PM', 'Mon': '10:30 AM - 09:00 PM', 
   'Fri': '10:30 AM- 10:00 PM', 'Tue': '10:30 AM- 09:00 PM', 
   'Sat': '10:30 AM - 11:00 PM'}
  </code></pre>
  
  <p>I want to intelligently convert <code>"10.30"</code> to <code>"10.30 AM"</code> &amp; <code>"22:30"</code> to <code>"10:30 PM"</code>. I can do using my own logic but is there a way to do this intelligently without <code>if</code>... <code>elif</code>?</p>