title: How do I convert timedelta to time in Python?
body: <p>I did so:</p>
  
  <pre><code>str_7 = str(waiting_time - timedelta(microseconds=waiting_time.microseconds)).split(":")
  col_7 = time(int(str_7[0]), int(str_7[1]), int(str_7[2]))
  </code></pre>
  
  <p>Is this code correct?</p>