title: Django rest framework timefield input format
body: <p>After hours of searching, I found many posts that are related but wasn't able to help. </p>
  
  <p>What I want to do is input eg: 10:30 AM into the TimeField.<br> 
  In the django rest framework API on the browser, it is using this 10:30 AM format (<code>'%I:%M %p'</code>). <br>
  But when I am using postman to test it, the output is in 24hr format ('%H:%M:%S'). I also tried to use 10:30 PM as input but the output I get is 10:30:00 instead of 22:30:00. </p>
  
  <p>Many of the answers I found suggest to change the TimeField format in <code>settings.py</code> by using this line:</p>
  
  <pre><code>TIME_INPUT_FORMATS = ('%I:%M %p',)
  </code></pre>
  
  <p>but it doesn't work for me.</p>
  
  <p>Sorry for my inexperience on django rest framework as I am still learning.</p>
  
  <p>Here is the screenshot of the result.
  On browser API:</p>
  
  <p><a href="https://i.stack.imgur.com/rLj8r.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rLj8r.png" alt="On browser API"></a></p>
  
  <p>On postman:</p>
  
  <p><a href="https://i.stack.imgur.com/CVw2O.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CVw2O.png" alt="On postman"></a></p>