title: Convert 24 integer to 12 hour with am/pm
body: <p>I'm using ruby.</p>
  
  <p>I'm trying to figure out how to convert the following..</p>
  
  <p><code>14</code> becomes <code>2 pm</code></p>
  
  <p><code>0</code> becomes <code>12 am</code></p>
  
  <p><code>23</code> becomes <code>11 pm</code></p>
  
  <p>Thanks!</p>